Picture-in-picture feature for WebRTC
Asked Answered
T

0

19

Apple introduced picture-in-picture feature for iOS starting version 14.0 while it was available for iPadOS earlier. The feature works fine when using AVFoundation API. For example,

import AVFoundation

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

What I am looking for is that if there are any solutions/APIs to implement picture-in-picture for WebRTC video streams in iOS and iPadOS, in particular, for RTCVideoRenderer.

Tartary answered 13/7, 2020 at 11:48 Comment(2)
Hi~Have you come up with any solutions?Algo
Nope, I gave up on this approach.Tartary

© 2022 - 2024 — McMap. All rights reserved.