Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 authored Feb 9, 2024
1 parent e92ef83 commit 13e211a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const pc = new RTCPeerConnection({ bundlePolicy: "max-bundle" });
//Send all tracks
for (const track of stream.getTracks()) {
//You could add simulcast too here
pc.addTrack(track, { 'direction': 'sendonly' });
pc.addTransceiver(track, { 'direction': 'sendonly' });
}
//Create whip client
Expand Down

0 comments on commit 13e211a

Please sign in to comment.