зеркало из https://github.com/nextcloud/talk-ios.git
Set VP8 as preferred codec when setting remote description.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
a85a582015
Коммит
16d47c72b4
|
@ -110,7 +110,8 @@
|
|||
- (void)setRemoteDescription:(RTCSessionDescription *)sessionDescription
|
||||
{
|
||||
__weak NCPeerConnection *weakSelf = self;
|
||||
[_peerConnection setRemoteDescription:sessionDescription completionHandler:^(NSError *error) {
|
||||
RTCSessionDescription *sdpPreferringCodec = [ARDSDPUtils descriptionForDescription:sessionDescription preferredVideoCodec:@"VP8"];
|
||||
[_peerConnection setRemoteDescription:sdpPreferringCodec completionHandler:^(NSError *error) {
|
||||
NCPeerConnection *strongSelf = weakSelf;
|
||||
if (strongSelf) {
|
||||
[strongSelf peerConnectionDidSetSessionDescriptionWithError:error];
|
||||
|
|
Загрузка…
Ссылка в новой задаче