Home
last modified time | relevance | path

Searched refs:LiveSession (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp113 mLiveSession = new LiveSession( in prepareAsync()
115 (mFlags & kFlagIncognito) ? LiveSession::kFlagIncognito : 0, in prepareAsync()
132 audio ? LiveSession::STREAMTYPE_AUDIO in getFormatMeta()
133 : LiveSession::STREAMTYPE_VIDEO, in getFormatMeta()
145 audio ? LiveSession::STREAMTYPE_AUDIO in getFormat()
146 : LiveSession::STREAMTYPE_VIDEO, in getFormat()
170 audio ? LiveSession::STREAMTYPE_AUDIO in dequeueAccessUnit()
171 : LiveSession::STREAMTYPE_VIDEO, in dequeueAccessUnit()
251 LiveSession::StreamType fetchType, int32_t pushWhat) { in pollForRawData()
272 if (fetchType == LiveSession::STREAMTYPE_SUBTITLES) { in pollForRawData()
[all …]
DHTTPLiveSource.h28 struct LiveSession;
82 sp<LiveSession> mLiveSession;
92 LiveSession::StreamType fetchType, int32_t pushWhat);
/frameworks/av/media/libmediaplayer2/nuplayer2/
DHTTPLiveSource2.cpp115 mLiveSession = new LiveSession( in prepareAsync()
117 (mFlags & kFlagIncognito) ? LiveSession::kFlagIncognito : 0, in prepareAsync()
134 audio ? LiveSession::STREAMTYPE_AUDIO in getFormatMeta()
135 : LiveSession::STREAMTYPE_VIDEO, in getFormatMeta()
147 audio ? LiveSession::STREAMTYPE_AUDIO in getFormat()
148 : LiveSession::STREAMTYPE_VIDEO, in getFormat()
172 audio ? LiveSession::STREAMTYPE_AUDIO in dequeueAccessUnit()
173 : LiveSession::STREAMTYPE_VIDEO, in dequeueAccessUnit()
253 LiveSession::StreamType fetchType, int32_t pushWhat) { in pollForRawData()
274 if (fetchType == LiveSession::STREAMTYPE_SUBTITLES) { in pollForRawData()
[all …]
DHTTPLiveSource2.h28 struct LiveSession;
82 sp<LiveSession> mLiveSession;
92 LiveSession::StreamType fetchType, int32_t pushWhat);
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp47 const int64_t LiveSession::kUpSwitchMarkUs = 15000000LL;
48 const int64_t LiveSession::kDownSwitchMarkUs = 20000000LL;
49 const int64_t LiveSession::kUpSwitchMarginUs = 5000000LL;
50 const int64_t LiveSession::kResumeThresholdUs = 100000LL;
56 struct LiveSession::BandwidthEstimator : public RefBase {
91 LiveSession::BandwidthEstimator::BandwidthEstimator() : in BandwidthEstimator()
99 void LiveSession::BandwidthEstimator::addBandwidthMeasurement( in addBandwidthMeasurement()
139 bool LiveSession::BandwidthEstimator::estimateBandwidth( in estimateBandwidth()
226 const char *LiveSession::getKeyForStream(StreamType type) { in getKeyForStream()
243 const char *LiveSession::getNameForStream(StreamType type) { in getNameForStream()
[all …]
DPlaylistFetcher.cpp48 LiveSession::getNameForStream(stream), ##__VA_ARGS__)
146 const sp<LiveSession> &session, in PlaylistFetcher()
166 mSeekMode(LiveSession::kSeekModeExactPosition), in PlaylistFetcher()
555 LiveSession::SeekMode seekMode) { in startAsync()
562 streamTypeMask |= LiveSession::STREAMTYPE_AUDIO; in startAsync()
567 streamTypeMask |= LiveSession::STREAMTYPE_VIDEO; in startAsync()
572 streamTypeMask |= LiveSession::STREAMTYPE_SUBTITLES; in startAsync()
643 ? LiveSession::kSeekModeNextSample in onMessageReceived()
644 : LiveSession::kSeekModeNextSegment); in onMessageReceived()
721 if (streamTypeMask & LiveSession::STREAMTYPE_AUDIO) { in onStart()
[all …]
DPlaylistFetcher.h59 const sp<LiveSession> &session,
75 LiveSession::SeekMode seekMode = LiveSession::kSeekModeExactPosition);
121 sp<LiveSession> mSession;
138 KeyedVector<LiveSession::StreamType, sp<AnotherPacketSource> >
DLiveSession.h43 struct LiveSession : public AHandler { struct
71 LiveSession( argument
119 virtual ~LiveSession(); argument
312 DISALLOW_EVIL_CONSTRUCTORS(LiveSession);
DAndroid.bp7 "LiveSession.cpp",