Customizing the iOS Sender Application
Customized Mini Controller
- Open CustomizedMiniControllerView.m and adjust the values according to your application needs.
Additional steps to take in the customized mini controller.
- Take the castManager as a property in your class.
- Instantiate play/pause the casting video through [self.castManager.castPlayer play]/[self.castManager.castPlayer pause].
- Update the play/pause button image.
- Manage cast mode video view (The UIView fills in the blank video view in OOOoyalaPlayer when casting video).
- Set the castModeVideoView in castManager as shown in the following code sample: [self.castManager setCastModeVideoView:videoView]; This view will be displayed in the videoView of OOOoyalaPlayer when casting the video.