HTTP interface "command batch" bug?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
dimchik
New Cone
New Cone
Posts: 5
Joined: 03 May 2006 11:10

HTTP interface "command batch" bug?

Postby dimchik » 03 May 2006 11:26

I noticed rather strange VLC behavior, when making this command batch in VLM http interface:

del mainstream
new mainstream broadcast enabled
setup mainstream input rtp://@:1234
setup mainstream output #duplicate{dst=std{access=mmsh,mux=ts,url=127.0.0.1:1235}}
control mainstream play


(mainstream do not exist before executing this batch)

- Sometimes it works fine.
- Sometimes it gives an error, that mainstream media do not exist - and stream is not creating.
- BUT sometimes something wrong happens - it creates stream, but with errors (input is empty) and VLC begins to use CPU unnormally. (50% vs 0.1% in normal mode)

How should I execute batches from my scripts? A small delay between commands helps to solve this, but I'm not sure - maybe it will begin to work strange on a heavy loaded system. Seems like something goes wrong with concurent requests.

Will be glad if anyone can explain me this.

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 2 guests