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

[Bug]: Seemingly SessionDescription creation bug #2007

Closed
3 tasks done
wei-zhang-simplisafe opened this issue Jun 5, 2024 · 2 comments
Closed
3 tasks done

[Bug]: Seemingly SessionDescription creation bug #2007

wei-zhang-simplisafe opened this issue Jun 5, 2024 · 2 comments
Assignees
Labels
bug Something isn't working pending-research v1.10.2

Comments

@wei-zhang-simplisafe
Copy link

Please confirm you have already done the following

  • I have searched the repository for related/existing bug reports
  • I have all the details the issue requires

Please answer the following prompt

  • This issue is replicable using the unmodified sample application

Describe the bug

This line looks wrong:
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/blob/master/src/source/PeerConnection/SessionDescription.c?plain=1#L659
The SPRTINTF will be overwritten by the next SPRINTF:
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/blob/master/src/source/PeerConnection/SessionDescription.c?plain=1#L662

nack feature is supported by webrtc SDK, so these lines should be in the SDP:
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli

But because of the above issue, only "a=rtcp-fb:125 nack pli" is in the SDP.
Some peer doesn't know webrtc SDK supports NACK, so won't send NACK RTCP packets.

Expected Behavior

These lines should be in the SDP:
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli

Current Behavior

Only a=rtcp-fb:125 nack pli is in the SDP

Reproduction Steps

Run sample code, and check the SDP text

WebRTC C SDK version being used

Most recent code base

If it was working in a previous version, which one?

No

Compiler and Version used

Any compiler

Operating System and version

any OS

Platform being used

any platform

@wei-zhang-simplisafe wei-zhang-simplisafe added bug Something isn't working needs-triage labels Jun 5, 2024
@disa6302
Copy link
Contributor

It does look like a bug. Thanks @wei-zhang-simplisafe ! Will get this fixed.

@hassanctech
Copy link
Contributor

fix has been merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending-research v1.10.2
Projects
None yet
Development

No branches or pull requests

4 participants