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

Fixing issue for SDP avigilon when activating onvif backchannel #479 #501

Merged
merged 4 commits into from
Jan 14, 2024

Conversation

cedricve
Copy link
Contributor

@cedricve cedricve commented Jan 11, 2024

This will skip the C: attribute when containing SM. This is added by Avigilon cameras, and make the current SDP formatter fail. Original issue: #479

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1130b56) 84.58% compared to head (3ee4e66) 84.61%.

❗ Current head 3ee4e66 differs from pull request most recent head 28d0c2d. Consider uploading reports for the commit 28d0c2d to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
+ Coverage   84.58%   84.61%   +0.03%     
==========================================
  Files         106      106              
  Lines       10989    10992       +3     
==========================================
+ Hits         9295     9301       +6     
+ Misses       1296     1294       -2     
+ Partials      398      397       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aler9
Copy link
Member

aler9 commented Jan 13, 2024

@cedricve this can be surely merged but first can you post the troublesome SDP in text format, so i can add it to automatic tests? thanks

@cedricve
Copy link
Contributor Author

@aler9 yes I noticed that. Please find the relevant SDP here.

v=0
o=- 1705180917694 1705180917694 IN IP4 192.168.1.63
s=Live
t=0 0
m=audio 0 RTP/AVP 0
c=IN IP4 192.168.1.63
a=control:rtsp://192.168.1.63/defaultPrimary/micCfg0/trackID=9?mtu=1440&streamType=u
a=recvonly
m=audio 0 RTP/AVP 0 97
c=IN IP4 192.168.1.63
c=SM SM spk0_trackID2
a=control:rtsp://192.168.1.63/defaultPrimary/spk0/trackID=2?mtu=1440&streamType=u
a=sendonly
a=rtpmap:0 pcmu/8000
a=rtpmap:97 opus/48000/2
m=video 0 RTP/AVP 96
c=IN IP4 192.168.1.63
a=control:rtsp://192.168.1.63/defaultPr

@aler9 aler9 merged commit 6b0ba5d into bluenviron:main Jan 14, 2024
7 checks passed
@aler9
Copy link
Member

aler9 commented Jan 14, 2024

merged, thanks

@cedricve
Copy link
Contributor Author

thanks @aler9, will we make a new release?

@cedricve
Copy link
Contributor Author

cedricve commented May 9, 2024

@aler9 after applying this fix, we have managed to have audio backchannel activated (setup) for Avigilon cameras, however after sending data over the backchannel no audio is streamed through the speaker. So this might not have completely fixed the issue, we expect Avigilon cameras do something very specific.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants