OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2011 Ericsson AB. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); | 53 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); |
54 DEFINE_WRAPPERTYPEINFO(); | 54 DEFINE_WRAPPERTYPEINFO(); |
55 | 55 |
56 public: | 56 public: |
57 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); | 57 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); |
58 ~MediaStreamTrack() override; | 58 ~MediaStreamTrack() override; |
59 | 59 |
60 String kind() const; | 60 String kind() const; |
61 String id() const; | 61 String id() const; |
62 String label() const; | 62 String label() const; |
63 bool remote() const; | |
64 | 63 |
65 bool enabled() const; | 64 bool enabled() const; |
66 void setEnabled(bool); | 65 void setEnabled(bool); |
67 | 66 |
68 bool muted() const; | 67 bool muted() const; |
69 | 68 |
70 String contentHint() const; | 69 String contentHint() const; |
71 void setContentHint(const String&); | 70 void setContentHint(const String&); |
72 | 71 |
73 String readyState() const; | 72 String readyState() const; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool m_stopped; | 122 bool m_stopped; |
124 Member<MediaStreamComponent> m_component; | 123 Member<MediaStreamComponent> m_component; |
125 WebMediaConstraints m_constraints; | 124 WebMediaConstraints m_constraints; |
126 }; | 125 }; |
127 | 126 |
128 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; | 127 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; |
129 | 128 |
130 } // namespace blink | 129 } // namespace blink |
131 | 130 |
132 #endif // MediaStreamTrack_h | 131 #endif // MediaStreamTrack_h |
OLD | NEW |