-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve rtsp decapsulator #166
Conversation
Noarkhh
commented
Apr 15, 2024
•
edited
Loading
edited
- Start forwarding RTCP packets
- Start forwarding packets from all interleaved channels, since they will be differentiated with ssrc
- Handle cases where an interleaved RTSP message is split between multiple buffers or is succeded by a RTP packet in a buffer, where previously these packets would be dropped
…ple buffers or is succeded by a RTP packet in a buffer
be30ba2
to
a0b4ac4
Compare
README.md
Outdated
@@ -15,7 +15,7 @@ The package can be installed by adding `membrane_rtp_plugin` to your list of dep | |||
```elixir | |||
def deps do | |||
[ | |||
{:membrane_rtp_plugin, "~> 0.27.1"}, | |||
{:membrane_rtp_plugin, "~> 0.28.0"}, |
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.
I would bump the version and release after we move the decapsulator to the rtsp plugin
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.
Ok, I wasn't planning on releasing, but the bump can be done when actually moving the element.
rest_length = actual_length - expected_length | ||
rtsp_message_length = byte_size(rtsp_message_start) - rest_length | ||
|
||
<<rtsp_message::binary-size(rtsp_message_length)-unit(8), rest::binary>> = |
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.
<<rtsp_message::binary-size(rtsp_message_length)-unit(8), rest::binary>> = | |
<<rtsp_message::binary-size(rtsp_message_length), rest::binary>> = |