Lines Matching refs:kSourceId
80 const char kSourceId[] = "SourceId";
330 return AddId(kSourceId, HAS_AUDIO | HAS_VIDEO);
350 return AddId(kSourceId, HAS_AUDIO | HAS_VIDEO);
365 AppendData(kSourceId, data, length);
374 AppendCluster(kSourceId, cluster.Pass());
569 AppendCluster(kSourceId, GenerateCluster(block_queue, false));
599 AppendInitSegmentWithSourceId(kSourceId, stream_flags);
682 if (AddId(kSourceId, stream_flags) != ChunkDemuxer::kOk)
686 kSourceId, stream_flags,
753 if (AddId(kSourceId, HAS_AUDIO | HAS_VIDEO) != ChunkDemuxer::kOk)
767 CheckExpectedRanges(kSourceId, "{ [0,2736) }");
780 CheckExpectedRanges(kSourceId, "{ [0,1027) [1201,2736) }");
787 CheckExpectedRanges(kSourceId, "{ [0,2736) }");
979 CheckExpectedRanges(kSourceId, expected);
1115 if (AddId(kSourceId, stream_flags) != ChunkDemuxer::kOk)
1367 CheckExpectedRanges(kSourceId, "{ [0,46) }");
1375 demuxer_->AppendData(kSourceId, info_tracks.get(), info_tracks_size,
1378 ×tamp_offset_map_[kSourceId],
1386 CheckExpectedRanges(kSourceId, "{ [0,92) }");
1415 CheckExpectedRanges(kSourceId, "{ [23,46) }");
1423 CheckExpectedRanges(kSourceId, "{ [23,92) }");
1565 demuxer_->AppendData(kSourceId, info_tracks.get(), info_tracks_size,
1568 ×tamp_offset_map_[kSourceId],
1602 demuxer_->AppendData(kSourceId, cluster_c->data(), cluster_c->size(),
1605 ×tamp_offset_map_[kSourceId],
1628 demuxer_->AppendData(kSourceId, cluster_b->data(), cluster_b->size(),
1631 ×tamp_offset_map_[kSourceId],
1654 demuxer_->AppendData(kSourceId, cluster_b->data(), cluster_b->size(),
1657 ×tamp_offset_map_[kSourceId],
1711 demuxer_->RemoveId(kSourceId);
1912 CheckExpectedRanges(kSourceId, "{ [0,46) }");
1919 CheckExpectedRanges(kSourceId, "{ [0,66) }");
1924 CheckExpectedRanges(kSourceId, "{ [0,46) }");
1933 CheckExpectedRanges(kSourceId, "{ [0,46) }");
1938 CheckExpectedRanges(kSourceId, "{ [0,200) }");
2125 demuxer_->AppendData(kSourceId, &tmp, 1,
2128 ×tamp_offset_map_[kSourceId],
2140 ASSERT_EQ(demuxer_->AddId(kSourceId, "audio/webm", codecs),
2154 ASSERT_EQ(demuxer_->AddId(kSourceId, "video/webm", codecs),
2453 ASSERT_EQ(AddId(kSourceId, HAS_AUDIO), ChunkDemuxer::kOk);
2476 ASSERT_EQ(AddId(kSourceId, HAS_VIDEO), ChunkDemuxer::kOk);
2573 demuxer_->Remove(kSourceId, base::TimeDelta(),
2613 demuxer_->Remove(kSourceId, base::TimeDelta::FromMilliseconds(200),
2966 ASSERT_TRUE(SetTimestampOffset(kSourceId, base::TimeDelta::FromSeconds(30)));
2977 ASSERT_TRUE(SetTimestampOffset(kSourceId, base::TimeDelta::FromSeconds(-1)));
3021 ASSERT_TRUE(demuxer_->IsParsingMediaSegment(kSourceId));
3023 demuxer_->Abort(kSourceId,
3026 ×tamp_offset_map_[kSourceId]);
3030 ASSERT_FALSE(demuxer_->IsParsingMediaSegment(kSourceId));
3039 EXPECT_EQ(ChunkDemuxer::kOk, AddIdForMp2tSource(kSourceId));
3057 AppendData(kSourceId, buffer->data(), buffer->data_size());
3060 ASSERT_TRUE(demuxer_->IsParsingMediaSegment(kSourceId));
3065 demuxer_->GetBufferedRanges(kSourceId);
3066 demuxer_->Abort(kSourceId,
3069 ×tamp_offset_map_[kSourceId]);
3071 demuxer_->GetBufferedRanges(kSourceId);
3083 EXPECT_EQ(ChunkDemuxer::kOk, AddIdForMp2tSource(kSourceId));
3101 AppendData(kSourceId, buffer->data(), buffer->data_size());
3104 ASSERT_TRUE(demuxer_->IsParsingMediaSegment(kSourceId));
3112 demuxer_->Abort(kSourceId,
3115 ×tamp_offset_map_[kSourceId]);
3155 demuxer_->IsParsingMediaSegment(kSourceId));
3168 CheckExpectedRanges(kSourceId, "{ [201191,201224) }");
3178 CheckExpectedRanges(kSourceId, "{ [201191,201247) }");
3191 CheckExpectedRanges(kSourceId, "{ [201191,201290) }");
3196 kSourceId, kDefaultDuration()));
3251 CheckExpectedRanges(kSourceId, "{ [0,132) [300,432) }");
3281 CheckExpectedRanges(kSourceId, "{ [0,435) }");
3333 AppendSingleStreamCluster(kSourceId, kAudioTrackNum, 0, 10);
3334 AppendSingleStreamCluster(kSourceId, kVideoTrackNum, 0, 5);
3343 AppendSingleStreamCluster(kSourceId, kAudioTrackNum,
3345 AppendSingleStreamCluster(kSourceId, kVideoTrackNum,
3365 AppendSingleStreamCluster(kSourceId, kAudioTrackNum,
3367 CheckExpectedRanges(kSourceId, "{ [1000,1115) }");
3375 AppendSingleStreamCluster(kSourceId, kAudioTrackNum,
3380 CheckExpectedRanges(kSourceId, "{ [500,615) }");
3392 AppendSingleStreamCluster(kSourceId, kAudioTrackNum, 700, 5);
3393 CheckExpectedRanges(kSourceId, "{ [500,592) [792,815) }");
3405 AppendSingleStreamCluster(kSourceId, kVideoTrackNum,
3411 CheckExpectedRanges(kSourceId, "{ [120,270) }");
3419 AppendSingleStreamCluster(kSourceId, kVideoTrackNum,
3421 CheckExpectedRanges(kSourceId, "{ [120,270) [420,630) }");
3434 kSourceId, kAudioTrackNum,
3443 CheckExpectedRanges(kSourceId, "{ [50,280) }");
3454 kSourceId, kAudioTrackNum,
3456 CheckExpectedRanges(kSourceId, "{ [50,280) [360,650) }");
3467 AppendSingleStreamCluster(kSourceId, kAudioTrackNum, "0K");
3470 CheckExpectedRanges(kSourceId, "{ [10,20) }");
3479 ASSERT_EQ(ChunkDemuxer::kOk, AddId(kSourceId, HAS_AUDIO));
3503 ASSERT_EQ(ChunkDemuxer::kOk, AddId(kSourceId, HAS_AUDIO));
3519 CheckExpectedRanges(kSourceId, "{ }");
3529 ASSERT_TRUE(SetTimestampOffset(kSourceId, duration_1));
3531 CheckExpectedRanges(kSourceId, "{ [2746,5519) }");
3560 CheckExpectedRanges(kSourceId, "{ [100,270) }");
3572 CheckExpectedRanges(kSourceId, "{ [100,270) [400,630) }");
3607 demuxer_->Remove(kSourceId, base::TimeDelta(),
3611 CheckExpectedRanges(kSourceId, "{ }");
3638 AppendSingleStreamCluster(kSourceId, kAudioTrackNum,
3641 CheckExpectedRanges(kSourceId, "{ [0,160) }");
3644 demuxer_->Remove(kSourceId,
3649 CheckExpectedRanges(kSourceId, "{ [0,160) }");
3718 CheckExpectedRanges(kSourceId, "{ [0,46) }");
3722 CheckExpectedRanges(kSourceId, "{ [0,115) }");
3736 CheckExpectedRanges(kSourceId, "{ [0,115) }");
3745 CheckExpectedRanges(kSourceId, "{ [0,115) }");