WebRTC 的画中画功能

Picture-in-picture feature for WebRTC

提问人:Hassan Shahbazi 提问时间:7/13/2020 最后编辑:Hassan Shahbazi 更新时间:11/7/2021 访问量:1245

问:

Apple 从 14.0 版开始为 iOS 引入了中画功能,而它早些时候可用于 iPadOS。该功能在使用 API 时工作正常。例如AVFoundation

import AVFoundation

func viewDidLoad() {
    let playerController = AVPlayerViewController()
    playerController.allowsPictureInPicturePlayback = true
}

我正在寻找的是,如果有任何解决方案/API 可以在 iOS 和 iPadOS 中为 WebRTC 视频流实现画中画,特别是 .RTCVideoRenderer

iOS Objective-C Swift WebRTC 画中画

评论

0赞 P. Tsin 8/18/2022
嗨~你有没有想出什么解决方案?
0赞 Hassan Shahbazi 8/22/2022
不,我放弃了这种方法。

答: 暂无答案