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

Copy CSeq even if 0 #2

Closed
wants to merge 1 commit into from
Closed

Copy CSeq even if 0 #2

wants to merge 1 commit into from

Conversation

eikehein
Copy link

According to the RTSP spec (RFC 7826), the initial sequence
number is recommended to be 0:

"The initial sequence number can be any number; however, it is
RECOMMENDED to start at 0."

The RTSP implementation in GStreamer's gst-plugins-base follows
this recommendation[0], unlike LibVLC which seems to start at 2.
Due to this bug, GStreamer can't be used to process the Anafi's
video stream as it will refuse to parse a response to its
initial OPTIONS request that doesn't include a CSeq header field.

0 = https://github.com/GStreamer/gst-plugins-base/blob/master/gst-libs/gst/rtsp/gstrtspconnection.c#L365

According to the RTSP spec (RFC 7826), the initial sequence
number is recommended to be 0:

"The initial sequence number can be any number; however, it is
RECOMMENDED to start at 0."

The RTSP implementation in GStreamer's gst-plugins-base follows
this recommendation[0], unlike LibVLC which seems to start at 2.
Due to this bug, GStreamer can't be used to process the Anafi's
video stream as it will refuse to parse a response to its
initial OPTIONS request that doesn't include a CSeq header field.

0 = https://github.com/GStreamer/gst-plugins-base/blob/master/gst-libs/gst/rtsp/gstrtspconnection.c#L365
@eikehein
Copy link
Author

If this PR is accepted, I would appreciate if this finds its way into an Anafi firmware update quickly to fix compatibility with GStreamer-based applications.

@eikehein
Copy link
Author

Ticket with GStreamer on request from their devs: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/624

@ptsneves
Copy link

ptsneves commented Sep 4, 2019

Any updates?

@N-Bz
Copy link
Member

N-Bz commented Mar 16, 2020

Hi,

An equivalent patch was made on our side and merged in the 1.0.1 release of GroundSDK (37f0531#diff-0b46d09df402c1d49c089fa2dd669741)

The fix is present on Anafi 1.6.0 and newer firmwares.

@N-Bz N-Bz closed this Mar 16, 2020
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.

None yet

3 participants