-
Notifications
You must be signed in to change notification settings - Fork 12
Bump ex_webrtc, set RTP sender codec #21
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
Conversation
| Membrane.Logger.warning(""" | ||
| Cannot select expicitly video codec, while various video codecs have been negotiated. \ | ||
| This might be caused be passing `Membrane.RTP` to `Membrane.WebRTC.Sink` and allowing \ | ||
| to negotiate more than one video codec. | ||
|
|
||
| Negotiated video codecs: #{inspect(supported_video_codecs, pretty: true)} | ||
| """) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to fail randomly, like before the fix? Shouldn't we raise here?
| defp get_video_transceiver(pc) do | ||
| pc | ||
| |> PeerConnection.get_transceivers() | ||
| |> Enum.find(&(&1.kind == :video)) | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This finds the first video transceiver, while we can have multiple video tracks. Shouldn't we find the transceiver corresponding to the particular track?
| Cannot select expicitly video codec, while various video codecs have been negotiated. \ | ||
| This might be caused be passing `Membrane.RTP` to `Membrane.WebRTC.Sink` and allowing \ | ||
| to negotiate more than one video codec. | ||
| Negotiated video codecs: #{inspect(supported_video_codecs, pretty: true)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Cannot select expicitly video codec, while various video codecs have been negotiated. \ | |
| This might be caused be passing `Membrane.RTP` to `Membrane.WebRTC.Sink` and allowing \ | |
| to negotiate more than one video codec. | |
| Negotiated video codecs: #{inspect(supported_video_codecs, pretty: true)} | |
| Cannot determine the video codec of the stream. It's necessary, as multiple video codecs have been negotiated. \ | |
| This error might be caused by passing `Membrane.RTP` to `Membrane.WebRTC.Sink` and allowing \ | |
| to negotiate more than one video codec. | |
| Negotiated video codecs: #{inspect(supported_video_codecs, pretty: true)} |
No description provided.