D/ccl_VideoCastManager( 1923): onApplicationStatusChanged() reached: Ready to play
D/ccl_BaseCastManager( 1923): Successfully added the new BaseCastConsumer listener com.google.sample.castcompanionlibrary.notification.VideoCastNotificationService$1@4266ba58
D/ccl_VideoCastManager( 1923): Successfully added the new CastConsumer listener com.google.sample.castcompanionlibrary.notification.VideoCastNotificationService$1@4266ba58
D/ccl_VideoCastNotificat( 1923): onStartCommand(): Action: none
D/ccl_VideoCastManager( 1923): RemoteMediaPlayer::onStatusUpdated() is reached
D/ccl_VideoCastManager( 1923): onRemoteMediaPlayerStatusUpdated() reached
D/ccl_VideoCastManager( 1923): mApiClient or mRemoteMediaPlayer is null, so will not proceed
D/ccl_VideoCastManager( 1923): RemoteMediaPlayer::onMetadataUpdated() is reached
D/ccl_VideoCastManager( 1923): onRemoteMediaPlayerMetadataUpdated() reached
正确填充了MediaInfo
对象我在调试器中检查了这个,mApiClient
和mRemoteMediaPlayer
应该在castCompanionLibrary
权限中创建吗?我不需要对这些物品做任何事情吗?
我会继续测试和更新我遇到的任何问题,但希望有人可以加入?