-
Notifications
You must be signed in to change notification settings - Fork 115
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
Undefined 'transceiver' object used in 'dispatch a receiver' steps #563
Comments
@pthatcherg this is a place where the transceiver concept isn't integrated. Can you take a look? |
Hello, My team and I decided to implement the next solution: This event is like an asynchronous way of adding a new transceiver [1-addTransceiver].
It is working, but In next iterations we will take into account the info of RTCRtpTransceiverInit (RTCRtpTransceiverInit .receive], RTCRtpTransceiverInit .send, etc.) to reject the remote media, accept only for receiving, etc. I hope this info can help us make a decision on this issue ;). Best regards!! Refs |
This seems like a wrong approach to me. The required owning transceivers should be created by the platform before the MediaStreamTrack is made visible to the application, and there definitely shouldn't be two ways to do it (when the transceivers and tracks are the result of setRemoteDescription, only one thing should happen). This needs to be made clear. Tagging @pthatcherg @taylor-b . |
I agree to Harald here. The transceivers should be created by the platform. |
Yes, in my proposal the transceiver is created by the platform (not by the developer), but it asks the developer if he wants to accept the media (so the transceiver is created) and also asks for the configuration (RTCRtpTransceiverInit) to create the transceiver, if not how the platform knows which configuration to apply? |
JSEP already talks pretty thoroughly about how transceivers are created as a result of So, I don't think we need to define any new logic, we just need to clean up this section and reference JSEP. |
@taylor-b Following your example, in case you create just a RtpSender (no RtpRecevier), how is the user notified about its existence? I mean, if you get an active RrpReceiver, you will receive an ontrack event, but for the inactive RtpSender I can't see any notification. This means that the developer could not be aware of this sender to add a track to it. Is there some way to get this sender without having to pool for all the senders? |
A sender will only be created in this way as a result of I agree though, it would be useful to have an independent |
Thanks for the reply. +1 for |
Seems that we're clear on expected behavior. |
Step 7 in https://w3c.github.io/webrtc-pc/archives/20160215/webrtc.html#dispatch-receiver
The text was updated successfully, but these errors were encountered: