嗨,我想在我的应用程序上播放远程视频。网址为:
我使用的AVKit与此代码,但屏幕和音频不工作。我只看到前进的进度条。
let player = AVPlayer(url: url)
// Create a new AVPlayerViewController and pass it a reference to the player.
let controller = AVPlayerViewController()
controller.player = player
controller.player?.
我有以下网址: rtmp://95.87.101.64:1935/live/mtv-ifilm-ifilm-live-16x9-SDq
我想在我的Android手机上实时播放这段视频,我的实时流媒体代码是
MediaController mediacontroller = new MediaController(VideoViewActivity.this);
mediacontroller.setAnchorView(videoview);
// Get the URL from String VideoURL
Uri video = Uri.parse(VideoURL);
Log.e(&