Re: Re: MMS stream
Home › Forums › Third Party Enhancements › VLC Shares › MMS stream › Re: Re: MMS stream
@dynamitemedia wrote:
where do i put these options i looked everywhere…
$vlcStreamer->setParam('profile', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");i tried adding –ipv4 –no-ipv6 like this but got same error
$vlcStreamer->setParam('profile --ipv4 --no-ipv6', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");since this is using rtmpdump to VLC then adding this to a profile wont work i am assuming, and i cant figure out where ‘profile’ is located so i can try to add the “–ipv4 –no-ipv6“
Im sorry but i am working on getting this set up to work with Roku and that would be great for your project. You seem to have been upset when asking questions and I am sorry, i am trying to port this to ROKU so other ppl can enjoy your great project
$vlcStreamer->setParam( ARG_KEY, ARG_VALUE)
is used to register substitutions inside vlc startup command.
Default startup command for vlc:
{%source%} --play-and-exit --sout="{%profile%}" --sout-keep --http-caching="10000" --sout-mux-caching="20000" {%subtitles%} {%audio%} {%filters%}
You can change it in http://localhost/vlc-shares/gconfigs/index/filter/vlc (advanced configs)
To be more clear:
1) X_Streamer_Engine_Vlc::setParam($param, $value): https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/Streamer/Engine/Vlc.php line 126
2) X_Vlc::registerArg($placeholder, $substitution): https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/Vlc.php line 113
1 calls 2
On vlc spawn, X_Vlc::spawn() is called which resolve placeholders in the startup command (strings between {% %} marks) to registered values
This code is not so hard to trace….
If you want to add
--ipv4 --no-ipv6
you have to do it inside the vlc startup command
Anyway I’m not upset, but i have no time to work on vlc-shares anymore for at least 6 month. So, if you want to add new features, port code to new devices or anything else you have to do it by yourself.
I’ve told you to read and post debug log + streamer thread log, but you ignored me…
