Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error in 0.12.1 version.. rtsp source ERR: sdp: invalid syntax `o= #121

Closed
brixzen opened this issue Nov 11, 2020 · 6 comments
Closed

error in 0.12.1 version.. rtsp source ERR: sdp: invalid syntax `o= #121

brixzen opened this issue Nov 11, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@brixzen
Copy link

brixzen commented Nov 11, 2020

source RTSP is TCP protocol, i test using VLC viewer working fine. before this version i test using 0.10 version, and this is the error from 0.10 version.
2020/11/12 03:11:06 [0/0/0] rtsp-simple-server v0.10.0
2020/11/12 03:11:06 [0/0/0] [UDP/RTP server] opened on :8000
2020/11/12 03:11:06 [0/0/0] [UDP/RTCP server] opened on :8001
2020/11/12 03:11:06 [0/0/0] [TCP server] opened on :8554
2020/11/12 03:11:06 [0/0/0] [path cam2] rtsp source started
2020/11/12 03:11:06 [0/0/0] [path cam2] connecting to rtsp source
2020/11/12 03:11:07 [0/0/0] [path cam2] rtsp source ERR: sdp: invalid numeric value P
2020/11/12 03:11:12 [0/0/0] [path cam2] connecting to rtsp source
2020/11/12 03:11:12 [0/0/0] [path cam2] rtsp source ERR: sdp: invalid numeric value P

in new version i test again, and still have error, with different code. this is :

root@server1:~/rtsp-simple-proxy# ./rtsp-simple-server
2020/11/12 03:11:19 [0/0/0] rtsp-simple-server v0.12.1
2020/11/12 03:11:19 [0/0/0] [UDP/RTP server] opened on :8000
2020/11/12 03:11:19 [0/0/0] [UDP/RTCP server] opened on :8001
2020/11/12 03:11:19 [0/0/0] [TCP server] opened on :8554
2020/11/12 03:11:19 [0/0/0] [path cam2] rtsp source started
2020/11/12 03:11:19 [0/0/0] [path cam2] connecting to rtsp source
2020/11/12 03:11:19 [0/0/0] [path cam2] rtsp source ERR: sdp: invalid syntax o=[RTSP 16381619791249025353 16381619791249085483 IN IP4] (o=RTSP 16381619791249025353 16381619791249085483 IN IP4 )

Thanks for hard work.!

@aler9
Copy link
Member

aler9 commented Nov 11, 2020

Hello, this can be fixed in a very short time, but you have to provide a network dump (so i can see the full SDP), by doing this:

  1. Download wireshark (https://www.wireshark.org/)
  2. Start capturing on the interface used for exchanging RTSP (if the server and the target software are both installed on your pc, the interface is probably "loopback", otherwise it's the one of your network card)
  3. Start the server and replicate the issue
  4. Stop capturing, save the result in .pcap format
  5. Attach

@aler9 aler9 added the bug Something isn't working label Nov 11, 2020
@brixzen
Copy link
Author

brixzen commented Nov 12, 2020

Ok thanks for fast response, there is the result.

port8554.pcap.zip

@aler9
Copy link
Member

aler9 commented Nov 12, 2020

Hello, thanks for posting the dump, this SDP is now fully supported in master and will be supported in the next release.

@brixzen
Copy link
Author

brixzen commented Nov 12, 2020

Ok thanks a lot.!! @aler9

@brixzen brixzen closed this as completed Nov 12, 2020
@aler9
Copy link
Member

aler9 commented Nov 25, 2020

added in v0.12.2

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2023

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants