The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Twilio Video SDK iOS 5.8.0
7 weeks ago
This release consumes twilio-video-cpp-6.9.0.
* Programmable Video iOS SDK 5.8.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.8.0/TwilioVideo.xcframework.zip) (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).
Enhancements
- This version contains 'VideoTrackStoringSampleBufferVideoView' class which simplifies the implementation of Picture in Picture.
- This release is based on Chromium WebRTC 112.
- iSAC Codec is no longer supported.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.7.1 (November 1, 2023)
* Programmable Video iOS SDK 5.7.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).
Bug Fixes
- Updated documentation for `didFailToPublishVideoTrack` callback.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.7.0 (June 14, 2023)
* Programmable Video iOS SDK 5.7.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).
New Features
- This version add the possibility to use camera multitasking on devices that supports it.
Enabling camera multitasking can be done when creating a CameraSource via the `TVICameraSourceOptionsBuilder`.
CameraMultitasking is enabled by default on device that support it. The feature is supported on iPad Pro (4th generation), iPad Pro (5th generation) and iPad Air (5th generation).
```
let options = CameraSourceOptions { builder in
builder.enableCameraMultitasking = true
}
```
- Add system pressure report from the camera pipeline. When the system is under pressure clients will be notified about system pressure changes via the `TVICameraSourceDelegate` method
```
- (void)capturePipeline:(TVICameraCapturePipeline *)pipeline isReportingSystemPressure:(AVCaptureSystemPressureLevel)pressureLevel
```
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.6.0 (March 29, 2023)
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).
New Features
- This release now uses WebRTC-m105
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
Size Report
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.2 MB
arm64 | 6.3 MB | 21.2 MB
-----------
#### 5.5.1
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.5.1/TwilioVideo.xcframework.zip) (checksum: 5bd09e5483bb1a474df312c7a413ab3580e46cc3c1a5110ffee4924ebad68164).
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.8.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.0 MB | 20.4 MB
arm64 | 6.0 MB | 20.4 MB
Twilio Video SDK iOS 5.7.1
24 weeks ago
This release consumes twilio-video-cpp-6.8.0.
#### 5.7.1 (In Developmeent)
* Programmable Video iOS SDK 5.7.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: b7865d6bd46ce8473b4b6679d00b68a85a53a43fab779c59629b7dcc855aa36b).
Bug Fixes
- Updated documentation for `didFailToPublishVideoTrack` callback.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.7.0 (June 14, 2023)
* Programmable Video iOS SDK 5.7.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: b7865d6bd46ce8473b4b6679d00b68a85a53a43fab779c59629b7dcc855aa36b).
New Features
- This version add the possibility to use camera multitasking on devices that supports it.
Enabling camera multitasking can be done when creating a CameraSource via the `TVICameraSourceOptionsBuilder`.
CameraMultitasking is enabled by default on device that support it. The feature is supported on iPad Pro (4th generation), iPad Pro (5th generation) and iPad Air (5th generation).
```
let options = CameraSourceOptions { builder in
builder.enableCameraMultitasking = true
}
```
- Add system pressure report from the camera pipeline. When the system is under pressure clients will be notified about system pressure changes via the `TVICameraSourceDelegate` method
```
- (void)capturePipeline:(TVICameraCapturePipeline *)pipeline isReportingSystemPressure:(AVCaptureSystemPressureLevel)pressureLevel
```
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.6.0 (March 29, 2023)
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: b7865d6bd46ce8473b4b6679d00b68a85a53a43fab779c59629b7dcc855aa36b).
New Features
- This release now uses WebRTC-m105
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
Size Report
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.2 MB
arm64 | 6.3 MB | 21.2 MB
-----------
#### 5.5.1
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.5.1/TwilioVideo.xcframework.zip) (checksum: b7865d6bd46ce8473b4b6679d00b68a85a53a43fab779c59629b7dcc855aa36b).
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.7.1
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.3 MB
arm64 | 6.3 MB | 21.3 MB
Twilio Video SDK iOS 5.7.0
44 weeks ago
#### 5.7.0
New Features
- This version add the possibility to use camera multitasking on devices that supports it.
Enabling camera multitasking can be done when creating a CameraSource via the `TVICameraSourceOptionsBuilder`.
CameraMultitasking is enabled by default on device that support it. The feature is supported on iPad Pro (4th generation), iPad Pro (5th generation) and iPad Air (5th generation).
```
let options = CameraSourceOptions { builder in
builder.enableCameraMultitasking = true
}
```
- Add system pressure report from the camera pipeline. When the system is under pressure clients will be notified about system pressure changes via the `TVICameraSourceDelegate` method
```
- (void)capturePipeline:(TVICameraCapturePipeline *)pipeline isReportingSystemPressure:(AVCaptureSystemPressureLevel)pressureLevel
```
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
#### 5.6.0 (March 29, 2023)
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.6.0/TwilioVideo.xcframework.zip) (checksum: df22418e4dcca9d2d317d0fb5e35b9ba8cc91662e1c21517f7c09a085092bfbe).
New Features
- This release now uses WebRTC-m105
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
Size Report
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.2 MB
arm64 | 6.3 MB | 21.2 MB
-----------
#### 5.5.1
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.5.1/TwilioVideo.xcframework.zip) (checksum: df22418e4dcca9d2d317d0fb5e35b9ba8cc91662e1c21517f7c09a085092bfbe).
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.7.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.3 MB
arm64 | 6.3 MB | 21.3 MB
Twilio Video SDK iOS 5.6.0
1 year ago
This release consumes twilio-video-cpp-6.8.0.
New Features
- This release now uses WebRTC-m105
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
-----------
#### 5.5.1
* Programmable Video iOS SDK 5.5.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.5.1/TwilioVideo.xcframework.zip) (checksum: 9a2132ffd669e846f738e065a5d4ab0cb9e94ccae6d8facdd80169ed429d2bf1).
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.6.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 6.3 MB | 21.2 MB
arm64 | 6.3 MB | 21.2 MB
Twilio Video SDK iOS 5.5.0
1 year ago
This release consumes twilio-video-cpp-6.7.0.
* Programmable Video iOS SDK 5.5.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.5.0/TwilioVideo.xcframework.zip) (checksum: 5d6cd0f91a4d0161e7068a65cf0a103a2d18ad529f1bf5a7ff8b13c9186857ad).
Bug Fixes
- The following thread performance checker warning has been resolved
> Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
Maintenance
- Bitcode is now disabled for all builds due to deprecation by Apple since the release of Xcode 14. See excerpt below from [Xcode 14 Release Notes: Deprecations](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes)
> Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.
> Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols can only be downloaded from App Store Connect / TestFlight for existing bitcode submissions and are no longer available for submissions made with Xcode 14. (86118779)
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.5.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 5.7 MB | 19.1 MB
arm64 | 5.7 MB | 19.1 MB
Twilio Video SDK iOS 5.4.0
1 year ago
This release consumes twilio-video-cpp-6.6.1.
* Programmable Video iOS SDK 5.4.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.4.0/TwilioVideo.xcframework.zip) (checksum: 2b773f6fa7074d175c9557ce7763ce75938a9f3abddd05bedf742049e3ab86d7).
Features
- This release introduces support for a noise cancellation audio device, `NoiseCancellationProcessor`, via a new [TwilioAudioProcessors SDK](https://github.com/twilio/twilio-audio-processors-ios)
API Changes
- `TVIAudioDeviceFormatChanged` method is now marked as deprecated and will raise a warning to use `TVIAudioDeviceReinitialize` instead. The API wil be removed in v6.0+.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.4.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 4.7 MB | 10.9 MB
arm64 | 4.7 MB | 10.9 MB
Twilio Video SDK iOS 5.3.0
1 year ago
This release consumes twilio-video-cpp-6.6.1.
#### 5.3.0
* Programmable Video iOS SDK 5.3.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.2.1/TwilioVideo.xcframework.zip) (checksum: 128e56119ce21d799777342eeedead6d73e52ae6d50ed8c57aadc9c353b76473
).
Enhancements
- Picture in Picture mode is now supported with the SDK. A new renderer `SampleBufferVideoView` is added for picture in picture support. In order for picture in picture to work on iOS 15+, your app must have [com.apple.developer.avfoundation.multitasking-camera-access](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_avfoundation_multitasking-camera-access) entitlement.
The following code, from our [Twilio Video iOS App](https://github.com/twilio/twilio-video-app-ios), illustrates implementing picture in picture using `SampleBufferVideoView`:
```.swift
class PictureInPictureViewController: UIViewController {
@IBOutlet weak var videoView: VideoView!
private var pipController: AVPictureInPictureController!
private var pipVideoCallViewController: AVPictureInPictureVideoCallViewController!
override func viewDidLoad() {
let sampleBufferVideoCallView = SampleBufferVideoView()
sampleBufferVideoCallView.contentMode = .scaleAspectFit
pipVideoCallViewController = AVPictureInPictureVideoCallViewController()
pipVideoCallViewController.preferredContentSize = CGSize(width: 1080, height: 1920)
pipVideoCallViewController.view.addSubview(sampleBufferVideoCallView)
sampleBufferVideoCallView.translatesAutoresizingMaskIntoConstraints = false
let constraints = [
sampleBufferVideoCallView.leadingAnchor.constraint(equalTo: pipVideoCallViewController.view.leadingAnchor),
sampleBufferVideoCallView.trailingAnchor.constraint(equalTo: pipVideoCallViewController.view.trailingAnchor),
sampleBufferVideoCallView.topAnchor.constraint(equalTo: pipVideoCallViewController.view.topAnchor),
sampleBufferVideoCallView.bottomAnchor.constraint(equalTo: pipVideoCallViewController.view.bottomAnchor)
]
NSLayoutConstraint.activate(constraints)
sampleBufferVideoCallView.bounds = pipVideoCallViewController.view.frame
let pipContentSource = AVPictureInPictureController.ContentSource(
activeVideoCallSourceView: videoView,
contentViewController: pipVideoCallViewController
)
pipController = AVPictureInPictureController(contentSource: pipContentSource)
pipController.canStartPictureInPictureAutomaticallyFromInline = true
pipController.delegate = self
}
}
```
Please note that the render hints are not supported in picture in picture mode except for the track switch on and off hints when the `SampleBufferVideoView` renderer is added and removed from the `RemoteVideoTrack` respectively. As a result when the app is in the background and in picture in picture mode, the displayed `RemoteVideoTrack` will still be active (e.g Dominant Speaker track), consuming bandwidth, and it will have the default spatial dimension determined by the media server.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.3.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 4.7 MB | 10.9 MB
arm64 | 4.7 MB | 10.9 MB
Twilio Video SDK iOS 5.2.1
1 year ago
This release consumes twilio-video-cpp-6.6.1.
#### 5.2.1
* Programmable Video iOS SDK 5.2.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.2.1/TwilioVideo.xcframework.zip) (checksum: f38bde50fc021e052d67e2aec2a9abf340b9f3008f613e46c5c4641c2324881a
).
Bug Fixes
- Fixed a bug in Adaptive Simulcast where processing of capturer parameter change events was causing a crash and debug check failure. [VIDEO-11409]
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.2.1
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 4.7 MB | 10.9 MB
arm64 | 4.7 MB | 10.9 MB
Twilio Video SDK iOS 5.2.0
1 year ago
This release consumes twilio-video-cpp-6.6.0.
* Programmable Video iOS SDK 5.2.0 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.2.0/TwilioVideo.xcframework.zip) (checksum: ab796cb1d6ec8e918d125df0df2caaa00779000cc4840e58ed2612a14df9a9ec
).
Bug Fixes
- Max video bandwidth limits are now applied to each simulcast layer when simulcast is enabled, and the expected behavior for max video bitrates with simulcast is better documented.
- Fixed several bugs that could cause crashes and deadlocks when a Room is disconnected / destroyed.
- Fixed a use-after-free bug associated with tasks posted to TaskQueue that could lead to undefined behavior.
- Fixed a bug which could cause a crash in IceConnectionActivityMonitor when reconnecting to or disconnecting from a Room.
- Fixed a race condition where subscribed callbacks for Remote Participant could be raised for tracks that have been ended.
Known Issues
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.2.0
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 4.7 MB | 10.9 MB
arm64 | 4.7 MB | 10.9 MB
Twilio Video SDK iOS 5.1.1
1 year ago
This release consumes twilio-video-cpp-6.5.2.
* Programmable Video iOS SDK 5.1.1 [[XCFramework]](https://github.com/twilio/twilio-video-ios/releases/download/5.1.1/TwilioVideo.xcframework.zip) (checksum: 125e944221600cbe98436d1cbc7bd8817c2795e6a9f36e3a63c01f0016f67d78
).
Bug Fixes
- Fixed symbol naming conflicts for side-by-side support of third-party WebRTC builds. [#207](https://github.com/twilio/twilio-video-ios/issues/207)
Known Issues
- On iOS 15.4+, lower frame rate may be observed when H.264 codecs are used. [#238](https://github.com/twilio/twilio-video-ios/issues/238)
- Audio playback fails in some cases when running a simulator on a Mac Mini. [#182](https://github.com/twilio/twilio-video-ios/issues/182)
- Unpublishing and republishing a `LocalAudioTrack` or `LocalVideoTrack` might not be seen by Participants. [#34](https://github.com/twilio/twilio-video-ios/issues/34)
- H.264 video might become corrupted after a network handoff. [#147](https://github.com/twilio/twilio-video-ios/issues/147)
- iOS devices do not support more than three H.264 encoders. Refer to [#17](https://github.com/twilio/twilio-video-ios/issues/17) for suggested work arounds.
- Publishing H.264 video at greater than 1280x720 @ 30fps is not supported. If a failure occurs then no error is raised to the developer. [ISDK-1590]
### Size Impact for 5.1.1
Architecture | Compressed Size | Uncompressed Size
------------ | --------------- | -----------------
Universal | 4.8 MB | 11.4 MB
arm64 | 4.8 MB | 11.4 MB