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

VLC Streamid #32

Open
ma-blip opened this issue Apr 27, 2020 · 8 comments
Open

VLC Streamid #32

ma-blip opened this issue Apr 27, 2020 · 8 comments

Comments

@ma-blip
Copy link

ma-blip commented Apr 27, 2020

Hi sorry for opening ths again.

I have gone trough the major hassle and compiled my own version of VLC(windows) with the srt patch in the link applied.

Im still having the same trouble as without the patch, it does not pass the stream id, stills
seems to be empty. Same errors as mentioned in previous questions regarding VLC.

trying to play url srt://192.168.1.14:8080?streamid=live.test.com/live/test.

Any ideas?

"the vlc with srt is not available, because of not parsing streamid parameter.
if you want use vlc for srt , please refer to the following :

https://github.com/Edward-Wu/vlc-srt

this is a patch for vlc 3.0 to play with srt."

@Edward-Wu
Copy link
Owner

hi ma-blip
Have you replaced the file of srt.c in modules/access_output with the patch file?
if you do this, please trace the following log information by set the vlc log switch to debug:

msg_Dbg( p_stream, "SRT: set streamid='%s'", psz_streamid );

@ma-blip
Copy link
Author

ma-blip commented Apr 27, 2020

Hi Edward.

I have only replaced srt.c in modules/access. Not access_output.

I'm currently only interested srt playback in VLC,not pushing srt from VLC. I thought I was suppose to replace the srt.c in access and not the one under access_output for that. Did I misinterpret the instructions?

Regards M

@ma-blip
Copy link
Author

ma-blip commented Apr 28, 2020

From the VLC log

access_srt error: Failed to set socket option streamid (reason: Operation not supported)
access_srt debug: SRT: set streamid='live.sls.com/live/test'
access_srt debug: Schedule SRT connect (dest addresss: 192.168.1.14, port: 8080).
main error: option payload-size does not exist

I used SRT 1.4.1 when compiling VLC

@ma-blip
Copy link
Author

ma-blip commented Apr 30, 2020

ok I'm not sure i got the compilation right. It seems that VLC3.x uses SRT 1.2.3 as source. Afaik Streamid does not exist in 1.2.3. So it seems that its a bit more complicated then just swapping out the srt.c file. I think i managed to swap to srt 1.4.1 before compile but im still getting blank streamid in srt server. Im not getting any errors now in the VLC log just multiple

Schedule SRT connect (dest addresss: 192.168.1.14, port: 8080)

Any clues here?

@ravenium
Copy link

@ma-blip any idea if this has been filed with Videolan as well, since it'll ultimately be on them to update their source?

@ma-blip
Copy link
Author

ma-blip commented May 13, 2020

Don't know. I dropped this for now, in over my head here. Would love to see the streamid implementation in VLC though, with updated libraries. It's a pity VLC is so far behind with their implementation.
/M

@whyronimus
Copy link

I requested it on the VLC forums. Just let them know - I think they're eager to try, and the feature is quite an easy one to implement.

@tomasz-lasko
Copy link

Regarding StreamID and VLC please see #52

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

5 participants