We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b447fd commit 39919d7Copy full SHA for 39919d7
pkg/media/samplebuilder/samplebuilder.go
@@ -305,6 +305,8 @@ func (s *SampleBuilder) Pop() *media.Sample {
305
// PopWithTimestamp compiles pushed RTP packets into media samples and then
306
// returns the next valid sample with its associated RTP timestamp (or nil, 0 if
307
// no sample is compiled).
308
+//
309
+// Deprecated: PopWithTimestamp will be removed in v4. Use Sample.PacketTimestamp field instead.
310
func (s *SampleBuilder) PopWithTimestamp() (*media.Sample, uint32) {
311
sample := s.Pop()
312
if sample == nil {
0 commit comments