Home
last modified time | relevance | path

Searched refs:rtp_timebase (Results 1 – 19 of 19) sorted by relevance

/external/openscreen/cast/streaming/
Drtp_time.h122 Duration ToDuration(int rtp_timebase) const { in ToDuration() argument
123 OSP_DCHECK_GT(rtp_timebase, 0); in ToDuration()
127 static_cast<double>(value_) / rtp_timebase * kOneSecond.count())); in ToDuration()
135 int rtp_timebase) { in FromDuration() argument
142 rtp_timebase)); in FromDuration()
234 Duration ToTimeSinceOrigin(int rtp_timebase) const { in ToTimeSinceOrigin() argument
235 return (*this - RtpTimeTicks()).ToDuration<Duration>(rtp_timebase); in ToTimeSinceOrigin()
243 int rtp_timebase) { in FromTimeSinceOrigin() argument
245 RtpTimeDelta::FromDuration(time_since_origin, rtp_timebase); in FromTimeSinceOrigin()
Dsession_config.cc14 int rtp_timebase, in SessionConfig() argument
22 rtp_timebase(rtp_timebase), in SessionConfig()
Doffer_messages.cc128 auto rtp_timebase = ParseRtpTimebase(value, "timeBase"); in ParseStream() local
129 if (!rtp_timebase) { in ParseStream()
130 return rtp_timebase.error(); in ParseStream()
132 if (rtp_timebase.value() < in ParseStream()
135 rtp_timebase.value() > kRtpVideoTimebase) { in ParseStream()
162 rtp_timebase.value()}; in ParseStream()
291 rtp_timebase < 1) { in ToJson()
311 root["timeBase"] = "1/" + std::to_string(rtp_timebase); in ToJson()
Dsession_config.h23 int rtp_timebase,
43 int rtp_timebase = 90000; member
Dpacket_receive_stats_tracker.cc12 PacketReceiveStatsTracker::PacketReceiveStatsTracker(int rtp_timebase) in PacketReceiveStatsTracker() argument
13 : rtp_timebase_(rtp_timebase) {} in PacketReceiveStatsTracker()
Dpacket_receive_stats_tracker.h23 explicit PacketReceiveStatsTracker(int rtp_timebase);
Dreceiver_session_unittest.cc325 EXPECT_EQ(cr.audio_receiver->config().rtp_timebase, 48000); in TEST_F()
334 EXPECT_EQ(cr.video_receiver->config().rtp_timebase, 90000); in TEST_F()
388 EXPECT_EQ(cr.audio_receiver->config().rtp_timebase, 48000); in TEST_F()
395 EXPECT_EQ(cr.video_receiver->config().rtp_timebase, 90000); in TEST_F()
Doffer_messages.h65 int rtp_timebase = 0; member
Dreceiver_session.cc208 stream.rtp_timebase, stream.channels, in ConstructReceiver()
228 properties.selected_audio->stream.rtp_timebase, in SpawnReceivers()
Dreceiver.h132 int rtp_timebase() const { return rtp_timebase_; } in rtp_timebase() function
Dreceiver.cc39 stats_tracker_(config.rtp_timebase), in Receiver()
41 rtp_timebase_(config.rtp_timebase), in Receiver()
Dsender.h126 int rtp_timebase() const { return rtp_timebase_; } in rtp_timebase() function
Doffer_messages_unittest.cc120 EXPECT_EQ(90000, vs_one.stream.rtp_timebase); in ExpectEqualsValidOffer()
152 EXPECT_EQ(90000, vs_two.stream.rtp_timebase); in ExpectEqualsValidOffer()
Dsender_session.cc227 stream.rtp_timebase, in CreateSender()
Dsender.cc35 rtp_timebase_(config.rtp_timebase), in Sender()
/external/openscreen/cast/standalone_receiver/
Ddummy_player.cc36 receiver_->rtp_timebase()); in OnFramesReady()
Dsdl_player_base.cc74 .ToDuration<Clock::duration>(receiver_->rtp_timebase()); in ResyncAndDeterminePresentationTime()
/external/openscreen/cast/standalone_sender/
Dstreaming_opus_encoder.h40 int sample_rate() const { return sender_->rtp_timebase(); } in sample_rate()
Dstreaming_vp8_encoder.cc150 reference_time - start_time_, sender_->rtp_timebase()); in EncodeAndSend()
177 .ToDuration<Clock::duration>(sender_->rtp_timebase()); in EncodeAndSend()