OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
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 are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 // Implements MediaStreamSignalingObserver. | 87 // Implements MediaStreamSignalingObserver. |
88 virtual void OnAddRemoteStream(webrtc::MediaStreamInterface* stream) { | 88 virtual void OnAddRemoteStream(webrtc::MediaStreamInterface* stream) { |
89 } | 89 } |
90 virtual void OnRemoveRemoteStream(webrtc::MediaStreamInterface* stream) { | 90 virtual void OnRemoveRemoteStream(webrtc::MediaStreamInterface* stream) { |
91 } | 91 } |
92 virtual void OnAddDataChannel(webrtc::DataChannelInterface* data_channel) { | 92 virtual void OnAddDataChannel(webrtc::DataChannelInterface* data_channel) { |
93 } | 93 } |
94 virtual void OnAddLocalAudioTrack(webrtc::MediaStreamInterface* stream, | 94 virtual void OnAddLocalAudioTrack(webrtc::MediaStreamInterface* stream, |
95 webrtc::AudioTrackInterface* audio_track, | 95 webrtc::AudioTrackInterface* audio_track, |
96 uint32 ssrc) { | 96 uint32 ssrc, |
97 } | 97 const std::string& mid) {} |
98 virtual void OnAddLocalVideoTrack(webrtc::MediaStreamInterface* stream, | 98 virtual void OnAddLocalVideoTrack(webrtc::MediaStreamInterface* stream, |
99 webrtc::VideoTrackInterface* video_track, | 99 webrtc::VideoTrackInterface* video_track, |
100 uint32 ssrc) { | 100 uint32 ssrc, |
101 } | 101 const std::string& mid) {} |
102 virtual void OnAddRemoteAudioTrack(webrtc::MediaStreamInterface* stream, | 102 virtual void OnAddRemoteAudioTrack(webrtc::MediaStreamInterface* stream, |
103 webrtc::AudioTrackInterface* audio_track, | 103 webrtc::AudioTrackInterface* audio_track, |
104 uint32 ssrc) { | 104 uint32 ssrc, |
105 } | 105 const std::string& mid) {} |
106 | 106 |
107 virtual void OnAddRemoteVideoTrack(webrtc::MediaStreamInterface* stream, | 107 virtual void OnAddRemoteVideoTrack(webrtc::MediaStreamInterface* stream, |
108 webrtc::VideoTrackInterface* video_track, | 108 webrtc::VideoTrackInterface* video_track, |
109 uint32 ssrc) { | 109 uint32 ssrc, |
110 } | 110 const std::string& mid) {} |
111 | 111 |
112 virtual void OnRemoveRemoteAudioTrack( | 112 virtual void OnRemoveRemoteAudioTrack( |
113 webrtc::MediaStreamInterface* stream, | 113 webrtc::MediaStreamInterface* stream, |
114 webrtc::AudioTrackInterface* audio_track) { | 114 webrtc::AudioTrackInterface* audio_track) { |
115 } | 115 } |
116 | 116 |
117 virtual void OnRemoveRemoteVideoTrack( | 117 virtual void OnRemoveRemoteVideoTrack( |
118 webrtc::MediaStreamInterface* stream, | 118 webrtc::MediaStreamInterface* stream, |
119 webrtc::VideoTrackInterface* video_track) { | 119 webrtc::VideoTrackInterface* video_track) { |
120 } | 120 } |
(...skipping 27 matching lines...) Expand all Loading... |
148 if (!video_track_id.empty()) { | 148 if (!video_track_id.empty()) { |
149 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( | 149 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( |
150 webrtc::VideoTrack::Create(video_track_id, NULL)); | 150 webrtc::VideoTrack::Create(video_track_id, NULL)); |
151 stream->AddTrack(video_track); | 151 stream->AddTrack(video_track); |
152 } | 152 } |
153 return stream; | 153 return stream; |
154 } | 154 } |
155 }; | 155 }; |
156 | 156 |
157 #endif // TALK_APP_WEBRTC_TEST_FAKEMEDIASTREAMSIGNALING_H_ | 157 #endif // TALK_APP_WEBRTC_TEST_FAKEMEDIASTREAMSIGNALING_H_ |
OLD | NEW |