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

Webrtc integrated play RTSP #665

Open
bingjue123 opened this issue Feb 18, 2024 · 4 comments
Open

Webrtc integrated play RTSP #665

bingjue123 opened this issue Feb 18, 2024 · 4 comments

Comments

@bingjue123
Copy link

I am testing Webrtc-streamer to play RTSP video streams;

The RSTP video stream of live video can be played normally, and the video stream address is as follows: "rtsp://admin:tww001218@192.168.105.150:554/dac/realplay/2E691C9D-2E85-4A70-9CBA-482CF5461F9C1/MAIN/TCP?streamform=rtp"

However, the RSTP video stream that plays the video playback cannot be played normally, and the video stream address is as follows: "rtsp://admin:tww001218@192.168.105.150:554/dac/playback/camera/2E691C9D-2E85-4A70-9CBA-482CF5461F9C1/MAIN/TCP?starttime=20240217T050658Z&endtime=20240217T061853Z&name=00000004992000000&size=1064651716&streamform=rtp"
image
提示

@bingjue123
Copy link
Author

In VLC test RTSP address can be played normally

@mpromonet
Copy link
Owner

mpromonet commented Feb 18, 2024

Hi @bingjue123,

Only starttime & ntptime are decoded from rtsp url. Increasing loglevel should help you.
It send a first PLAY, then a PAUSE, then a 2nd PLAY, I don't really understand why not just send PLAY with starttime...
To debug you could use live555helpertest

Best Regards,
Michel.

@bingjue123
Copy link
Author

This is the RTSP returned by the monitor interface, and I can't change it;
image

@marcelimati
Copy link

try changing & to ? in url, it should work
Result: rtsp://admin:tww001218@192.168.105.150:554/dac/playback/camera/2E691C9D-2E85-4A70-9CBA-482CF5461F9C1/MAIN/TCP?starttime=20240217T050658Z?endtime=20240217T061853Z?name=00000004992000000?size=1064651716?streamform=rtp

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

No branches or pull requests

3 participants