/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | streamparams_unittest.cc | 37 static cricket::StreamParams CreateStreamParamsWithSsrcGroup( in CreateStreamParamsWithSsrcGroup() 39 cricket::StreamParams stream; in CreateStreamParamsWithSsrcGroup() 79 TEST(StreamParams, CreateLegacy) { in TEST() argument 81 cricket::StreamParams one_sp = cricket::StreamParams::CreateLegacy(ssrc); in TEST() 91 TEST(StreamParams, HasSsrcGroup) { in TEST() argument 92 cricket::StreamParams sp = in TEST() 106 TEST(StreamParams, GetSsrcGroup) { in TEST() argument 107 cricket::StreamParams sp = in TEST() 113 TEST(StreamParams, EqualNotEqual) { in TEST() argument 114 cricket::StreamParams l1 = cricket::StreamParams::CreateLegacy(1); in TEST() [all …]
|
D | streamparams.h | 79 struct StreamParams { struct 80 static StreamParams CreateLegacy(uint32 ssrc) { in CreateLegacy() argument 81 StreamParams stream; in CreateLegacy() 86 bool operator==(const StreamParams& other) const { 96 bool operator!=(const StreamParams &other) const { 191 bool Matches(const StreamParams& stream) const { in Matches() argument 204 typedef std::vector<StreamParams> StreamParamsVec; 209 StreamParams* stream_out); 211 StreamParams* stream_out); 215 StreamParams* stream_out); [all …]
|
D | streamparams.cc | 66 std::string StreamParams::ToString() const { in ToString() 100 void StreamParams::GetPrimarySsrcs(std::vector<uint32>* ssrcs) const { in GetPrimarySsrcs() 111 void StreamParams::GetFidSsrcs(const std::vector<uint32>& primary_ssrcs, in GetFidSsrcs() 121 bool StreamParams::AddSecondarySsrc(const std::string& semantics, in AddSecondarySsrc() 137 bool StreamParams::GetSecondarySsrc(const std::string& semantics, in GetSecondarySsrc() 154 StreamParams* stream_out) { in GetStream() 168 StreamParams* stream_out) { in GetStreamBySsrc() 175 StreamParams* stream_out) { in GetStreamByIds() 204 bool IsOneSsrcStream(const StreamParams& sp) { in IsOneSsrcStream() 225 bool IsSimulcastStream(const StreamParams& sp) { in IsSimulcastStream()
|
D | rtpdataengine.h | 107 virtual bool AddSendStream(const StreamParams& sp); 109 virtual bool AddRecvStream(const StreamParams& sp); 137 std::vector<StreamParams> send_streams_; 138 std::vector<StreamParams> recv_streams_;
|
D | videoengine_unittest.h | 491 virtual cricket::StreamParams DefaultSendStreamParams() { in DefaultSendStreamParams() 492 return cricket::StreamParams::CreateLegacy(kSsrc); in DefaultSendStreamParams() 524 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStream() 533 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv() 536 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv() 538 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStreamWithNoRecv() 915 cricket::StreamParams::CreateLegacy(1))); in GetStatsMultipleRecvStreams() 917 cricket::StreamParams::CreateLegacy(2))); in GetStatsMultipleRecvStreams() 962 cricket::StreamParams::CreateLegacy(kSsrc))); in GetStatsMultipleSendStreams() 983 cricket::StreamParams::CreateLegacy(5678))); in GetStatsMultipleSendStreams() [all …]
|
D | rtpdataengine.cc | 172 bool RtpDataMediaChannel::AddSendStream(const StreamParams& stream) { in AddSendStream() 177 StreamParams found_stream; in AddSendStream() 198 StreamParams found_stream; in RemoveSendStream() 209 bool RtpDataMediaChannel::AddRecvStream(const StreamParams& stream) { in AddRecvStream() 214 StreamParams found_stream; in AddRecvStream() 272 StreamParams found_stream; in OnPacketReceived() 321 StreamParams found_stream; in SendData()
|
D | rtpdataengine_unittest.cc | 208 cricket::StreamParams stream1; in TEST_F() 211 cricket::StreamParams stream2; in TEST_F() 223 cricket::StreamParams stream1; in TEST_F() 226 cricket::StreamParams stream2; in TEST_F() 259 cricket::StreamParams stream; in TEST_F() 325 cricket::StreamParams stream1; in TEST_F() 328 cricket::StreamParams stream2; in TEST_F() 386 cricket::StreamParams stream; in TEST_F() 455 cricket::StreamParams stream; in TEST_F()
|
D | fakemediaengine.h | 116 virtual bool AddSendStream(const StreamParams& sp) { in AddSendStream() 127 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream() 156 const std::vector<StreamParams>& send_streams() const { in send_streams() 159 const std::vector<StreamParams>& recv_streams() const { in recv_streams() 215 std::vector<StreamParams> send_streams_; 216 std::vector<StreamParams> receive_streams_; 286 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream() 509 virtual bool AddSendStream(const StreamParams& sp) { in AddSendStream() 536 for (std::vector<StreamParams>::const_iterator it = send_streams().begin(); in SetSendCodecs() 579 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream() [all …]
|
D | filemediaengine.h | 239 virtual bool AddSendStream(const StreamParams& sp); 241 virtual bool AddRecvStream(const StreamParams& sp) { return true; } in AddRecvStream() 310 virtual bool AddSendStream(const StreamParams& sp); 312 virtual bool AddRecvStream(const StreamParams& sp) { return true; } in AddRecvStream()
|
D | testutils.cc | 346 cricket::StreamParams CreateSimStreamParams( in CreateSimStreamParams() 348 cricket::StreamParams sp; in CreateSimStreamParams() 357 cricket::StreamParams CreateSimWithRtxStreamParams( in CreateSimWithRtxStreamParams() 360 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | mediamessages.h | 63 std::vector<StreamParams>* mutable_audio() { return &audio_; } in mutable_audio() 64 std::vector<StreamParams>* mutable_video() { return &video_; } in mutable_video() 65 std::vector<StreamParams>* mutable_data() { return &data_; } in mutable_data() 66 const std::vector<StreamParams>& audio() const { return audio_; } in audio() 67 const std::vector<StreamParams>& video() const { return video_; } in video() 68 const std::vector<StreamParams>& data() const { return data_; } in data() 72 const StreamSelector& selector, StreamParams* stream); 74 const StreamSelector& selector, StreamParams* stream); 76 const StreamSelector& selector, StreamParams* stream); 78 void AddAudioStream(const StreamParams& stream); [all …]
|
D | call.h | 129 const std::vector<StreamParams>* GetDataRecvStreams(Session* session) const { in GetDataRecvStreams() 133 const std::vector<StreamParams>* GetVideoRecvStreams(Session* session) const { in GetVideoRecvStreams() 137 const std::vector<StreamParams>* GetAudioRecvStreams(Session* session) const { in GetAudioRecvStreams() 145 VideoContentDescription* CreateVideoStreamUpdate(const StreamParams& stream); 178 const StreamParams&> SignalSpeakerMonitor; 232 void UpdateRecvStreams(const std::vector<StreamParams>& update_streams, 234 std::vector<StreamParams>* recv_streams, 235 std::vector<StreamParams>* added_streams, 236 std::vector<StreamParams>* removed_streams); 237 void AddRecvStreams(const std::vector<StreamParams>& added_streams, [all …]
|
D | mediamessages.cc | 47 void AddStream(std::vector<StreamParams>* streams, const StreamParams& stream) { in AddStream() 94 const StreamSelector& selector, StreamParams* stream) { in GetAudioStream() 99 const StreamSelector& selector, StreamParams* stream) { in GetVideoStream() 104 const StreamSelector& selector, StreamParams* stream) { in GetDataStream() 114 void MediaStreams::AddAudioStream(const StreamParams& stream) { in AddAudioStream() 118 void MediaStreams::AddVideoStream(const StreamParams& stream) { in AddVideoStream() 122 void MediaStreams::AddDataStream(const StreamParams& stream) { in AddDataStream() 209 std::vector<StreamParams>* streams, in ParseSsrcAsLegacyStream() 218 streams->push_back(StreamParams::CreateLegacy(ssrc)); in ParseSsrcAsLegacyStream() 258 std::vector<StreamParams>* streams, in ParseJingleStream() [all …]
|
D | bundlefilter_unittest.cc | 31 using cricket::StreamParams; 120 EXPECT_TRUE(bundle_filter.AddStream(StreamParams::CreateLegacy(kSsrc1))); in TEST() 121 StreamParams stream2; in TEST() 167 EXPECT_TRUE(bundle_filter.AddStream(StreamParams::CreateLegacy(kSsrc1))); in TEST() 171 EXPECT_TRUE(bundle_filter.AddStream(StreamParams::CreateLegacy(kSsrc2))); in TEST() 209 EXPECT_TRUE(bundle_filter.AddStream(StreamParams::CreateLegacy(kSsrc1))); in TEST()
|
D | call.cc | 184 StreamParams found_stream; in SendViewRequest() 535 StreamParams stream; in StartScreencast() 559 StreamParams stream; in StopScreencast() 606 const StreamParams& stream) { in CreateVideoStreamUpdate() 777 StreamParams stream; in OnSpeakerMonitor() 973 void FindStreamChanges(const std::vector<StreamParams>& streams, in FindStreamChanges() 974 const std::vector<StreamParams>& updates, in FindStreamChanges() 975 std::vector<StreamParams>* added_streams, in FindStreamChanges() 976 std::vector<StreamParams>* removed_streams) { in FindStreamChanges() 977 for (std::vector<StreamParams>::const_iterator update = updates.begin(); in FindStreamChanges() [all …]
|
D | bundlefilter.h | 60 bool AddStream(const StreamParams& stream); 75 std::vector<StreamParams> streams_;
|
D | channel.h | 125 bool AddRecvStream(const StreamParams& sp); 127 bool AddSendStream(const StreamParams& sp); 217 const std::vector<StreamParams>& local_streams() const { in local_streams() 220 const std::vector<StreamParams>& remote_streams() const { in remote_streams() 286 bool AddRecvStream_w(const StreamParams& sp); 288 bool AddSendStream_w(const StreamParams& sp); 302 bool UpdateLocalStreams_w(const std::vector<StreamParams>& streams, 305 bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams, 372 std::vector<StreamParams> local_streams_; 373 std::vector<StreamParams> remote_streams_;
|
D | mediamessages_unittest.cc | 76 static cricket::StreamParams CreateStream(const std::string& nick, in CreateStream() 83 StreamParams stream; in CreateStream() 264 std::vector<cricket::StreamParams> expected_streams; in TEST_F() 283 std::vector<cricket::StreamParams> actual_streams; in TEST_F() 307 std::vector<cricket::StreamParams> actual_streams; in TEST_F()
|
D | mediasession.h | 238 void AddStream(const StreamParams& stream) { in AddStream() 243 streams_.push_back(StreamParams::CreateLegacy(ssrc)); in AddLegacyStream() 246 StreamParams sp = StreamParams::CreateLegacy(ssrc); in AddLegacyStream() 541 uint32 ssrc, StreamParams* stream_out); 545 StreamParams* stream_out);
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideoengine_unittest.cc | 165 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(123))); in TestSetSendRtpHeaderExtensions() 167 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(234))); in TestSetSendRtpHeaderExtensions() 200 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(345))); in TestSetRecvRtpHeaderExtensions() 202 channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(456))); in TestSetRecvRtpHeaderExtensions() 550 cricket::StreamParams::CreateLegacy(1))); in TEST_F() 672 cricket::StreamParams::CreateLegacy(123))); in TEST_F() 738 cricket::StreamParams params = in TEST_F() 739 cricket::StreamParams::CreateLegacy(kSsrcs1[0]); in TEST_F() 775 cricket::StreamParams params = in TEST_F() 776 cricket::StreamParams::CreateLegacy(kSsrcs3[i]); in TEST_F() [all …]
|
D | webrtcvoiceengine_unittest.cc | 155 cricket::StreamParams::CreateLegacy(kSsrc1)); in SetupEngine() 187 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf() 206 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf() 283 cricket::StreamParams::CreateLegacy(123))); in TestSetSendRtpHeaderExtensions() 285 cricket::StreamParams::CreateLegacy(234))); in TestSetSendRtpHeaderExtensions() 325 cricket::StreamParams::CreateLegacy(345))); in TestSetRecvRtpHeaderExtensions() 327 cricket::StreamParams::CreateLegacy(456))); in TestSetRecvRtpHeaderExtensions() 486 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F() 510 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F() 534 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F() [all …]
|
D | webrtcvideoengine2_unittest.cc | 457 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F() 467 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F() 620 return AddSendStream(StreamParams::CreateLegacy(last_ssrc_++)); in AddSendStream() 623 FakeVideoSendStream* AddSendStream(const StreamParams& sp) { in AddSendStream() 638 return AddRecvStream(StreamParams::CreateLegacy(last_ssrc_++)); in AddRecvStream() 641 FakeVideoReceiveStream* AddRecvStream(const StreamParams& sp) { in AddRecvStream() 682 AddSendStream(cricket::StreamParams::CreateLegacy(123)); in TestSetSendRtpHeaderExtensions() 692 EXPECT_TRUE(AddRecvStream(cricket::StreamParams::CreateLegacy(123)) in TestSetSendRtpHeaderExtensions() 722 AddRecvStream(cricket::StreamParams::CreateLegacy(123)); in TestSetRecvRtpHeaderExtensions() 733 EXPECT_TRUE(AddSendStream(cricket::StreamParams::CreateLegacy(123)) in TestSetRecvRtpHeaderExtensions() [all …]
|
D | webrtcvideoengine.h | 260 virtual bool AddSendStream(const StreamParams& sp); 262 virtual bool AddRecvStream(const StreamParams& sp); 320 const StreamParams& send_params); 322 int channel_id, const StreamParams& send_params, size_t limit); 324 int channel_id, const StreamParams& send_params, 361 bool MaybeSetRtxSsrc(const StreamParams& sp, int channel_id);
|
D | webrtcvideoengine2.h | 234 virtual bool AddSendStream(const StreamParams& sp) OVERRIDE; 236 virtual bool AddRecvStream(const StreamParams& sp) OVERRIDE; 279 const StreamParams& sp) const; 298 const StreamParams& sp,
|
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/ |
D | sctpdataengine.h | 145 virtual bool AddSendStream(const StreamParams& sp); 147 virtual bool AddRecvStream(const StreamParams& sp); 211 bool AddStream(const StreamParams &sp);
|