Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCRtpSender with a null transport? #679

Closed
fippo opened this issue Apr 18, 2017 · 1 comment
Closed

RTCRtpSender with a null transport? #679

fippo opened this issue Apr 18, 2017 · 1 comment

Comments

@fippo
Copy link
Contributor

fippo commented Apr 18, 2017

while trying to implement addTrack in adapter I ran into the issue that I could not create RTCRtpSender with a null transport.
http://draft.ortc.org/#rtcrtpsender-operation*
Should that be allowed? setTransport could later be used to set the transport.

(for adapter i'll probably just create the ice gatherer, ice transport and dtls transport during addTrack. Seems wrong in terms of semantics but... this is 1.0 and so I am getting used to things feeling wrong)

@taylor-b
Copy link

In addition to being convenient from an API perspective, creating a sender without a transport could have practical benefits. An application may want to create and setup a sender without a transport as soon as possible, since this (I assume) would trigger encoder initialization. Thus, making call setup slightly faster once the application is actually ready for a call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants