Skip to content
Snippets Groups Projects
Unverified Commit dd701ac7 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #5241 from prlanzarin/force-h264

Forcing H264 in HTML5 video
parents 951ad13d bdb72d60
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ const kurentoUrl = config.get('kurentoUrl');
const MCSApi = require('../mcs-core/lib/media/MCSApiStub');
const C = require('../bbb/messages/Constants');
const Logger = require('../utils/Logger');
const h264_sdp = require('../h264-sdp');
var sharedWebcams = {};
......@@ -118,6 +119,9 @@ module.exports = class Video {
Logger.info("[video] Starting video instance for", this.id);
let sdpAnswer;
// Force H264
sdpOffer = h264_sdp.transform(sdpOffer);
try {
this.userId = await this.mcs.join(this.meetingId, 'SFU', {});
Logger.info("[video] MCS join for", this.id, "returned", this.userId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment