Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #ifndef NU_PLAYER2_H_ |
| 18 | |
| 19 | #define NU_PLAYER2_H_ |
| 20 | |
| 21 | #include <media/AudioResamplerPublic.h> |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 22 | #include <media/stagefright/foundation/AHandler.h> |
| 23 | |
Wei Jia | 51b6956 | 2018-02-05 16:17:13 -0800 | [diff] [blame] | 24 | #include <mediaplayer2/MediaPlayer2Interface.h> |
Dichen Zhang | fc9f40f | 2019-01-04 14:15:28 -0800 | [diff] [blame^] | 25 | #include <mediaplayer2/JObjectHolder.h> |
Wei Jia | 51b6956 | 2018-02-05 16:17:13 -0800 | [diff] [blame] | 26 | |
Dongwon Kang | 9f63198 | 2018-07-10 12:34:41 -0700 | [diff] [blame] | 27 | #include "mediaplayer2.pb.h" |
| 28 | |
| 29 | using android::media::MediaPlayer2Proto::PlayerMessage; |
| 30 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 31 | namespace android { |
| 32 | |
| 33 | struct ABuffer; |
| 34 | struct AMediaCryptoWrapper; |
| 35 | struct AMessage; |
Wei Jia | 28288fb | 2017-12-15 13:45:29 -0800 | [diff] [blame] | 36 | struct ANativeWindowWrapper; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 37 | struct AudioPlaybackRate; |
| 38 | struct AVSyncSettings; |
Wei Jia | c263603 | 2018-02-01 09:15:25 -0800 | [diff] [blame] | 39 | struct DataSourceDesc; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 40 | struct MediaClock; |
| 41 | struct MediaHTTPService; |
| 42 | class MetaData; |
| 43 | struct NuPlayer2Driver; |
| 44 | |
| 45 | struct NuPlayer2 : public AHandler { |
Dichen Zhang | fc9f40f | 2019-01-04 14:15:28 -0800 | [diff] [blame^] | 46 | explicit NuPlayer2(pid_t pid, uid_t uid, |
| 47 | const sp<MediaClock> &mediaClock, const sp<JObjectHolder> &context); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 48 | |
| 49 | void setDriver(const wp<NuPlayer2Driver> &driver); |
| 50 | |
Wei Jia | c263603 | 2018-02-01 09:15:25 -0800 | [diff] [blame] | 51 | void setDataSourceAsync(const sp<DataSourceDesc> &dsd); |
Wei Jia | 72bf2a0 | 2018-02-06 15:29:23 -0800 | [diff] [blame] | 52 | void prepareNextDataSourceAsync(const sp<DataSourceDesc> &dsd); |
Wei Jia | 57aeffd | 2018-02-15 16:01:14 -0800 | [diff] [blame] | 53 | void playNextDataSource(int64_t srcId); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 54 | |
| 55 | status_t getBufferingSettings(BufferingSettings* buffering /* nonnull */); |
| 56 | status_t setBufferingSettings(const BufferingSettings& buffering); |
| 57 | |
| 58 | void prepareAsync(); |
| 59 | |
Wei Jia | 28288fb | 2017-12-15 13:45:29 -0800 | [diff] [blame] | 60 | void setVideoSurfaceTextureAsync(const sp<ANativeWindowWrapper> &nww); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 61 | |
Wei Jia | 33abcc7 | 2018-01-30 09:47:38 -0800 | [diff] [blame] | 62 | void setAudioSink(const sp<MediaPlayer2Interface::AudioSink> &sink); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 63 | status_t setPlaybackSettings(const AudioPlaybackRate &rate); |
| 64 | status_t getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */); |
| 65 | status_t setSyncSettings(const AVSyncSettings &sync, float videoFpsHint); |
| 66 | status_t getSyncSettings(AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */); |
| 67 | |
| 68 | void start(); |
| 69 | |
| 70 | void pause(); |
| 71 | |
| 72 | // Will notify the driver through "notifyResetComplete" once finished. |
| 73 | void resetAsync(); |
| 74 | |
| 75 | // Request a notification when specified media time is reached. |
| 76 | status_t notifyAt(int64_t mediaTimeUs); |
| 77 | |
| 78 | // Will notify the driver through "notifySeekComplete" once finished |
| 79 | // and needNotify is true. |
| 80 | void seekToAsync( |
| 81 | int64_t seekTimeUs, |
| 82 | MediaPlayer2SeekMode mode = MediaPlayer2SeekMode::SEEK_PREVIOUS_SYNC, |
| 83 | bool needNotify = false); |
Wei Jia | d1864f9 | 2018-10-19 12:34:56 -0700 | [diff] [blame] | 84 | void rewind(); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 85 | |
| 86 | status_t setVideoScalingMode(int32_t mode); |
Wei Jia | 17944af | 2018-12-13 18:13:10 -0800 | [diff] [blame] | 87 | status_t getTrackInfo(int64_t srcId, PlayerMessage* reply) const; |
| 88 | status_t getSelectedTrack(int64_t srcId, int32_t type, PlayerMessage* reply) const; |
| 89 | status_t selectTrack(int64_t srcId, size_t trackIndex, bool select, int64_t timeUs); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 90 | status_t getCurrentPosition(int64_t *mediaUs); |
| 91 | void getStats(Vector<sp<AMessage> > *mTrackStats); |
| 92 | |
| 93 | sp<MetaData> getFileMeta(); |
| 94 | float getFrameRate(); |
| 95 | |
| 96 | // Modular DRM |
Robert Shih | 3c3728d | 2018-12-04 17:06:36 -0800 | [diff] [blame] | 97 | status_t prepareDrm(int64_t srcId, const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId); |
| 98 | status_t releaseDrm(int64_t srcId); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 99 | |
| 100 | const char *getDataSourceType(); |
| 101 | |
| 102 | protected: |
| 103 | virtual ~NuPlayer2(); |
| 104 | |
| 105 | virtual void onMessageReceived(const sp<AMessage> &msg); |
| 106 | |
| 107 | public: |
| 108 | struct StreamListener; |
| 109 | struct Source; |
| 110 | |
| 111 | private: |
| 112 | struct Decoder; |
| 113 | struct DecoderBase; |
| 114 | struct DecoderPassThrough; |
| 115 | struct CCDecoder; |
Wei Jia | 2409c87 | 2018-02-02 10:34:33 -0800 | [diff] [blame] | 116 | struct GenericSource2; |
| 117 | struct HTTPLiveSource2; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 118 | struct Renderer; |
Wei Jia | 2409c87 | 2018-02-02 10:34:33 -0800 | [diff] [blame] | 119 | struct RTSPSource2; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 120 | struct Action; |
| 121 | struct SeekAction; |
| 122 | struct SetSurfaceAction; |
| 123 | struct ResumeDecoderAction; |
| 124 | struct FlushDecoderAction; |
| 125 | struct PostMessageAction; |
| 126 | struct SimpleAction; |
| 127 | |
| 128 | enum { |
| 129 | kWhatSetDataSource = '=DaS', |
| 130 | kWhatPrepare = 'prep', |
Wei Jia | 72bf2a0 | 2018-02-06 15:29:23 -0800 | [diff] [blame] | 131 | kWhatPrepareNextDataSource = 'pNDS', |
Wei Jia | 57aeffd | 2018-02-15 16:01:14 -0800 | [diff] [blame] | 132 | kWhatPlayNextDataSource = 'plNS', |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 133 | kWhatSetVideoSurface = '=VSu', |
| 134 | kWhatSetAudioSink = '=AuS', |
| 135 | kWhatMoreDataQueued = 'more', |
| 136 | kWhatConfigPlayback = 'cfPB', |
| 137 | kWhatConfigSync = 'cfSy', |
| 138 | kWhatGetPlaybackSettings = 'gPbS', |
| 139 | kWhatGetSyncSettings = 'gSyS', |
| 140 | kWhatStart = 'strt', |
| 141 | kWhatScanSources = 'scan', |
| 142 | kWhatVideoNotify = 'vidN', |
| 143 | kWhatAudioNotify = 'audN', |
| 144 | kWhatClosedCaptionNotify = 'capN', |
| 145 | kWhatRendererNotify = 'renN', |
| 146 | kWhatReset = 'rset', |
| 147 | kWhatNotifyTime = 'nfyT', |
| 148 | kWhatSeek = 'seek', |
| 149 | kWhatPause = 'paus', |
| 150 | kWhatResume = 'rsme', |
| 151 | kWhatPollDuration = 'polD', |
| 152 | kWhatSourceNotify = 'srcN', |
| 153 | kWhatGetTrackInfo = 'gTrI', |
| 154 | kWhatGetSelectedTrack = 'gSel', |
| 155 | kWhatSelectTrack = 'selT', |
| 156 | kWhatGetBufferingSettings = 'gBus', |
| 157 | kWhatSetBufferingSettings = 'sBuS', |
| 158 | kWhatPrepareDrm = 'pDrm', |
| 159 | kWhatReleaseDrm = 'rDrm', |
Wei Jia | d1864f9 | 2018-10-19 12:34:56 -0700 | [diff] [blame] | 160 | kWhatRewind = 'reWd', |
| 161 | kWhatEOSMonitor = 'eosM', |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 162 | }; |
| 163 | |
Wei Jia | f01e312 | 2018-10-18 11:49:44 -0700 | [diff] [blame] | 164 | typedef enum { |
| 165 | DATA_SOURCE_TYPE_NONE, |
| 166 | DATA_SOURCE_TYPE_HTTP_LIVE, |
| 167 | DATA_SOURCE_TYPE_RTSP, |
| 168 | DATA_SOURCE_TYPE_GENERIC_URL, |
| 169 | DATA_SOURCE_TYPE_GENERIC_FD, |
| 170 | DATA_SOURCE_TYPE_MEDIA, |
| 171 | } DATA_SOURCE_TYPE; |
| 172 | |
| 173 | struct SourceInfo { |
| 174 | SourceInfo(); |
Wei Jia | d1864f9 | 2018-10-19 12:34:56 -0700 | [diff] [blame] | 175 | SourceInfo &operator=(const SourceInfo &); |
Wei Jia | f01e312 | 2018-10-18 11:49:44 -0700 | [diff] [blame] | 176 | |
| 177 | sp<Source> mSource; |
| 178 | std::atomic<DATA_SOURCE_TYPE> mDataSourceType; |
| 179 | int64_t mSrcId; |
| 180 | uint32_t mSourceFlags; |
| 181 | int64_t mStartTimeUs; |
| 182 | int64_t mEndTimeUs; |
Robert Shih | c3fca0e | 2018-12-04 17:08:04 -0800 | [diff] [blame] | 183 | // Modular DRM |
| 184 | sp<AMediaCryptoWrapper> mCrypto; |
| 185 | bool mIsDrmProtected = false; |
Wei Jia | f01e312 | 2018-10-18 11:49:44 -0700 | [diff] [blame] | 186 | }; |
| 187 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 188 | wp<NuPlayer2Driver> mDriver; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 189 | pid_t mPID; |
Wei Jia | 003fdb5 | 2018-02-06 14:44:32 -0800 | [diff] [blame] | 190 | uid_t mUID; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 191 | const sp<MediaClock> mMediaClock; |
| 192 | Mutex mSourceLock; // guard |mSource|. |
Wei Jia | f01e312 | 2018-10-18 11:49:44 -0700 | [diff] [blame] | 193 | SourceInfo mCurrentSourceInfo; |
| 194 | SourceInfo mNextSourceInfo; |
Wei Jia | 28288fb | 2017-12-15 13:45:29 -0800 | [diff] [blame] | 195 | sp<ANativeWindowWrapper> mNativeWindow; |
Wei Jia | 33abcc7 | 2018-01-30 09:47:38 -0800 | [diff] [blame] | 196 | sp<MediaPlayer2Interface::AudioSink> mAudioSink; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 197 | sp<DecoderBase> mVideoDecoder; |
| 198 | bool mOffloadAudio; |
| 199 | sp<DecoderBase> mAudioDecoder; |
| 200 | sp<CCDecoder> mCCDecoder; |
| 201 | sp<Renderer> mRenderer; |
| 202 | sp<ALooper> mRendererLooper; |
| 203 | int32_t mAudioDecoderGeneration; |
| 204 | int32_t mVideoDecoderGeneration; |
| 205 | int32_t mRendererGeneration; |
Wei Jia | d1864f9 | 2018-10-19 12:34:56 -0700 | [diff] [blame] | 206 | int32_t mEOSMonitorGeneration; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 207 | |
| 208 | Mutex mPlayingTimeLock; |
| 209 | int64_t mLastStartedPlayingTimeNs; |
| 210 | void stopPlaybackTimer(const char *where); |
| 211 | void startPlaybackTimer(const char *where); |
| 212 | |
| 213 | int64_t mLastStartedRebufferingTimeNs; |
| 214 | void startRebufferingTimer(); |
| 215 | void stopRebufferingTimer(bool exitingPlayback); |
| 216 | |
| 217 | int64_t mPreviousSeekTimeUs; |
| 218 | |
| 219 | List<sp<Action> > mDeferredActions; |
| 220 | |
| 221 | bool mAudioEOS; |
| 222 | bool mVideoEOS; |
| 223 | |
| 224 | bool mScanSourcesPending; |
| 225 | int32_t mScanSourcesGeneration; |
| 226 | |
| 227 | int32_t mPollDurationGeneration; |
| 228 | int32_t mTimedTextGeneration; |
| 229 | |
| 230 | enum FlushStatus { |
| 231 | NONE, |
| 232 | FLUSHING_DECODER, |
| 233 | FLUSHING_DECODER_SHUTDOWN, |
| 234 | SHUTTING_DOWN_DECODER, |
| 235 | FLUSHED, |
| 236 | SHUT_DOWN, |
| 237 | }; |
| 238 | |
| 239 | enum FlushCommand { |
| 240 | FLUSH_CMD_NONE, |
| 241 | FLUSH_CMD_FLUSH, |
| 242 | FLUSH_CMD_SHUTDOWN, |
| 243 | }; |
| 244 | |
| 245 | // Status of flush responses from the decoder and renderer. |
| 246 | bool mFlushComplete[2][2]; |
| 247 | |
| 248 | FlushStatus mFlushingAudio; |
| 249 | FlushStatus mFlushingVideo; |
| 250 | |
| 251 | // Status of flush responses from the decoder and renderer. |
| 252 | bool mResumePending; |
| 253 | |
| 254 | int32_t mVideoScalingMode; |
| 255 | |
| 256 | AudioPlaybackRate mPlaybackSettings; |
| 257 | AVSyncSettings mSyncSettings; |
| 258 | float mVideoFpsHint; |
| 259 | bool mStarted; |
| 260 | bool mPrepared; |
| 261 | bool mResetting; |
| 262 | bool mSourceStarted; |
| 263 | bool mAudioDecoderError; |
| 264 | bool mVideoDecoderError; |
| 265 | |
| 266 | // Actual pause state, either as requested by client or due to buffering. |
| 267 | bool mPaused; |
| 268 | |
| 269 | // Pause state as requested by client. Note that if mPausedByClient is |
| 270 | // true, mPaused is always true; if mPausedByClient is false, mPaused could |
| 271 | // still become true, when we pause internally due to buffering. |
| 272 | bool mPausedByClient; |
| 273 | |
| 274 | // Pause state as requested by source (internally) due to buffering |
| 275 | bool mPausedForBuffering; |
| 276 | |
Dichen Zhang | fc9f40f | 2019-01-04 14:15:28 -0800 | [diff] [blame^] | 277 | // Passed from JAVA |
| 278 | const sp<JObjectHolder> mContext; |
| 279 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 280 | inline const sp<DecoderBase> &getDecoder(bool audio) { |
| 281 | return audio ? mAudioDecoder : mVideoDecoder; |
| 282 | } |
| 283 | |
| 284 | inline void clearFlushComplete() { |
| 285 | mFlushComplete[0][0] = false; |
| 286 | mFlushComplete[0][1] = false; |
| 287 | mFlushComplete[1][0] = false; |
| 288 | mFlushComplete[1][1] = false; |
| 289 | } |
| 290 | |
Wei Jia | 57aeffd | 2018-02-15 16:01:14 -0800 | [diff] [blame] | 291 | void disconnectSource(); |
| 292 | |
Wei Jia | 72bf2a0 | 2018-02-06 15:29:23 -0800 | [diff] [blame] | 293 | status_t createNuPlayer2Source(const sp<DataSourceDesc> &dsd, |
| 294 | sp<Source> *source, |
| 295 | DATA_SOURCE_TYPE *dataSourceType); |
| 296 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 297 | void tryOpenAudioSinkForOffload( |
| 298 | const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo); |
| 299 | void closeAudioSink(); |
| 300 | void restartAudio( |
| 301 | int64_t currentPositionUs, bool forceNonOffload, bool needsToCreateAudioDecoder); |
| 302 | void determineAudioModeChange(const sp<AMessage> &audioFormat); |
| 303 | |
| 304 | status_t instantiateDecoder( |
| 305 | bool audio, sp<DecoderBase> *decoder, bool checkAudioModeChange = true); |
| 306 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 307 | void updateVideoSize( |
Wei Jia | d2bb1bd | 2018-02-08 09:47:37 -0800 | [diff] [blame] | 308 | int64_t srcId, |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 309 | const sp<AMessage> &inputFormat, |
| 310 | const sp<AMessage> &outputFormat = NULL); |
| 311 | |
Dongwon Kang | 41929fb | 2018-09-09 08:29:56 -0700 | [diff] [blame] | 312 | void notifyListener(int64_t srcId, int msg, int ext1, int ext2, const PlayerMessage *in = NULL); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 313 | |
Wei Jia | d1864f9 | 2018-10-19 12:34:56 -0700 | [diff] [blame] | 314 | void addEndTimeMonitor(); |
| 315 | |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 316 | void handleFlushComplete(bool audio, bool isDecoder); |
| 317 | void finishFlushIfPossible(); |
| 318 | |
Wei Jia | 6376cd5 | 2018-09-26 11:42:55 -0700 | [diff] [blame] | 319 | void onStart(bool play); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 320 | void onResume(); |
| 321 | void onPause(); |
| 322 | |
| 323 | bool audioDecoderStillNeeded(); |
| 324 | |
| 325 | void flushDecoder(bool audio, bool needShutdown); |
| 326 | |
| 327 | void finishResume(); |
Wei Jia | d2bb1bd | 2018-02-08 09:47:37 -0800 | [diff] [blame] | 328 | void notifyDriverSeekComplete(int64_t srcId); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 329 | |
| 330 | void postScanSources(); |
| 331 | |
| 332 | void schedulePollDuration(); |
| 333 | void cancelPollDuration(); |
| 334 | |
| 335 | void processDeferredActions(); |
| 336 | |
| 337 | void performSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode); |
| 338 | void performDecoderFlush(FlushCommand audio, FlushCommand video); |
| 339 | void performReset(); |
Wei Jia | 57aeffd | 2018-02-15 16:01:14 -0800 | [diff] [blame] | 340 | void performPlayNextDataSource(); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 341 | void performScanSources(); |
Wei Jia | 28288fb | 2017-12-15 13:45:29 -0800 | [diff] [blame] | 342 | void performSetSurface(const sp<ANativeWindowWrapper> &nw); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 343 | void performResumeDecoders(bool needNotify); |
| 344 | |
| 345 | void onSourceNotify(const sp<AMessage> &msg); |
| 346 | void onClosedCaptionNotify(const sp<AMessage> &msg); |
| 347 | |
| 348 | void queueDecoderShutdown( |
| 349 | bool audio, bool video, const sp<AMessage> &reply); |
| 350 | |
| 351 | void sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex); |
| 352 | void sendTimedMetaData(const sp<ABuffer> &buffer); |
| 353 | void sendTimedTextData(const sp<ABuffer> &buffer); |
| 354 | |
Dongwon Kang | 9f63198 | 2018-07-10 12:34:41 -0700 | [diff] [blame] | 355 | void writeTrackInfo(PlayerMessage* reply, const sp<AMessage>& format) const; |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 356 | |
| 357 | status_t onPrepareDrm(const sp<AMessage> &msg); |
Robert Shih | c3fca0e | 2018-12-04 17:08:04 -0800 | [diff] [blame] | 358 | status_t onReleaseDrm(const sp<AMessage> &msg); |
| 359 | |
| 360 | SourceInfo* getSourceInfoByIdInMsg(const sp<AMessage> &msg); |
| 361 | void resetSourceInfo(SourceInfo &srcInfo); |
Wei Jia | 53692fa | 2017-12-11 10:33:46 -0800 | [diff] [blame] | 362 | |
| 363 | DISALLOW_EVIL_CONSTRUCTORS(NuPlayer2); |
| 364 | }; |
| 365 | |
| 366 | } // namespace android |
| 367 | |
| 368 | #endif // NU_PLAYER2_H_ |