Skip to content

Commit

Permalink
Fix setting b=as in p2p sub (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkokk authored and jcague committed Aug 29, 2018
1 parent fc5d092 commit df51f7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erizo_controller/erizoClient/src/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,9 @@ const Room = (altIo, altConnectionHelpers, altConnectionManager, specInput) => {
stream.forceTurn = options.forceTurn;

if (that.p2p) {
const streamToSubscribe = remoteStreams.get(stream.getID());
streamToSubscribe.maxAudioBW = options.maxAudioBW;
streamToSubscribe.maxVideoBW = options.maxVideoBW;
socket.sendSDP('subscribe', { streamId: stream.getID(), metadata: options.metadata });
callback(true);
} else {
Expand Down

0 comments on commit df51f7e

Please sign in to comment.