Twilio Video SDK iOS 2.8.0
twilio-sdk-build
released this
15 Mar 01:03
·
54 commits
to Releases
since this release
This release consumes twilio-video-cpp-3.3.0.
API Changes
- Implemented the Dominant Speaker functionality for Group Rooms. To enable the dominant speaker functionality, set the
TVIConnectOptions.dominantSpeakerEnabled
property toYES
when connecting to a Group Room. To determine the current dominant speaker, query theTVIRoom.dominantSpeaker
property. When there is no dominant speaker, theTVIConnectOptions.dominantSpeakerEnabled
property was set toNO
or when using a Peer-to-Peer room, theTVIRoom.dominantSpeaker
property will always returnnil
. When there is a dominant speaker, theTVIRoom.dominantSpeaker
property will return the appropriateTVIRemoteParticipant
. Implementing[TVIRoomDelegate room:dominantSpeakerDidChange:]
method on yourTVIRoomDelegate
will allow you to receive callbacks when the dominant speaker in a Group Room changes. ThedominantSpeakerDidChange:
argument will contain theTVIRemoteParticipant
of the dominant speaker, ornil
if there is no longer a dominant speaker.
@IBAction func connectToRoom(sender: AnyObject) {
let connectOptions = TVIConnectOptions(token: accessToken) { (builder) in
builder.dominantSpeakerEnabled = true
builder.roomName = "my-room"
}
room = TwilioVideo.connect(with: connectOptions, delegate: self)
}
...
// MARK: TVIRoomDelegate
func room(_ room: TVIRoom, dominantSpeakerDidChange participant: TVIRemoteParticipant?) {
var identity = "N/A"
if let participant = participant {
identity = participant.identity
}
print("Dominant Speaker Changed: \(identity)")
}
Bug Fixes
- Fixed a crash related to stats gathering which could occur when insights reporting is enabled. [CSDK-2751]
- Fixed a crash related to media state summarization which could occur when disconnecting from a Room. [CSDK-2776]
- Fixed a crash related to stats gathering which could occur in the media monitor component. [CSDK-2786]
[TVIRoom getStatsWithBlock:]
will execute the provided block if called whileTVIRoom.state == TVIRoomStateReconnecting
. [CSDK-2787]
Known Issues
- Unpublishing and republishing a
TVILocalAudioTrack
orTVILocalVideoTrack
might not be seen by Participants. #34 - Typically, a maximum of three H.264 encoders can be used at once. When this limit is exceeded no errors are raised and new video Tracks are not encoded. #17
- 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]
- Participant disconnect event can take up to 120 seconds to occur. #99
Size Impact for 2.8.0
Architecture | Compressed Size | Uncompressed Size |
---|---|---|
Universal | 8.8 MB | 19.2 MB |
arm64 | 4.2 MB | 10.3 MB |
armv7 | 4.4 MB | 8.6 MB |