Multiple AVPlayer simultaneous playback on one view
I have four AVPlayer layers on a single view. All 4 plays streams from remote server.
streamView1 = [AVPlayer playerWithURL:VideoStreamURL1];
layer1 = [AVPlayerLayer playerLayerWithPlayer:self.streamView1]
[self.layer addSublayer: layer1];
I am calling all 4 player on single action and have pause,stop and playback timer functionalities as well. Now the video playback starts at different time. I need all 4 video and the timer to start at the same time.
链接地址: http://www.djcxy.com/p/56886.html上一篇: AVPlayer图层不显示视频内容
下一篇: 在一个视图上同时播放多个AVPlayer