The readme example is currently:
//Send all tracks
for (const track of stream.getTracks()) {
//You could add simulcast too here
pc.addTrack(track);
}
But maybe it should be:
//Send all tracks
for (const track of stream.getTracks()) {
//You could add simulcast too here
pc.addTransceiver(track, { 'direction': 'sendonly' })
}
The RFC draft states 'SHOULD' for having sendonly transcievers.
Let me know if you want a PR
The readme example is currently:
But maybe it should be:
The RFC draft states 'SHOULD' for having sendonly transcievers.
Let me know if you want a PR