Prefer H264

This commit is contained in:
Mario Danic 2018-10-16 14:46:13 +02:00
parent 9f1fef7ff1
commit 589f7f934f
2 changed files with 2 additions and 2 deletions

View file

@ -1263,7 +1263,7 @@ public class CallController extends BaseController {
magicPeerConnectionWrapper.setNick(ncSignalingMessage.getPayload().getNick());
String sessionDescriptionStringWithPreferredCodec = MagicWebRTCUtils.preferCodec
(ncSignalingMessage.getPayload().getSdp(),
"VP8", false);
"H264", false);
SessionDescription sessionDescriptionWithPreferredCodec = new SessionDescription(
SessionDescription.Type.fromCanonicalForm(type),

View file

@ -340,7 +340,7 @@ public class MagicPeerConnectionWrapper {
public void onCreateSuccess(SessionDescription sessionDescription) {
String sessionDescriptionStringWithPreferredCodec = MagicWebRTCUtils.preferCodec
(sessionDescription.description,
"VP8", false);
"H264", false);
SessionDescription sessionDescriptionWithPreferredCodec = new SessionDescription(
sessionDescription.type,