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

Rename RTP.TCP.Depayloader to RTP.RTSP.Decapsulator #162

Merged
merged 7 commits into from
Feb 23, 2024

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Feb 21, 2024

No description provided.

@Noarkhh Noarkhh requested a review from mat-hek February 21, 2024 12:51
@Noarkhh Noarkhh changed the title Rename RTP.TCP.Depayloader to RTP.RTSP.Depayloader Rename RTP.TCP.Depayloader to RTP.RTSP.Decapsulator Feb 22, 2024
@@ -1,7 +1,8 @@
defmodule Membrane.RTP.TCP.Depayloader do
defmodule Membrane.RTP.RTSP.Depayloader do
Copy link
Contributor

@wkozyra95 wkozyra95 Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR name does not match the change (and file name)

mat-hek
mat-hek previously approved these changes Feb 23, 2024
channel_id,
complete_packets
) do
<<"$", received_channel_id, payload_length::size(16), rest::binary>> = packets_binary

if payload_length > byte_size(rest) do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be more idiomatic

case rest do
   <<complete_packet_binary::binary-size(payload_length)-unit(8), rest::binary>> -> ...

@Noarkhh Noarkhh merged commit 5bdc24e into master Feb 23, 2024
3 checks passed
@Noarkhh Noarkhh deleted the rename-tcp-depayloader branch February 23, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants