Page 1 of 1

restart playback /offset

Posted: 14 Dec 2005 19:30
by BillW
I am running version 0.8.4 ActiveX control within a Visual Basic 6.0 application on Win2000 server platform.
I have the control on the main form and I am displaying a multicast udp video. I start the playing using the .addTarget method.
When I discontinue the playback using the .stop method, and I call the .addTarget method the video does not start again. What am I doing wrong here?
SECOND: Is there a command to get the current 'offset' into the playing multicast? I could not find documentation on this.
THANX in advance
Bill

Posted: 14 Dec 2005 22:03
by BillW
Upy date: Playing around with the parameters on version 0.8.4 I found that by changing VLCPlayListReplaceAndGo with VLCPlayListReplace following with .play fixed that issue.
Still can't seem to get time into video using .Time method

Posted: 16 Dec 2005 12:25
by chkauer
Hi !

If I didn´t missunderstand you, you are playing a stream in your control (udp multicast), so your control acts as a client.

In that case, I don´t think you can get or set the offset, because there´s no start or end in a stream, better say, the client doesn´t know when the stream ends/ has begun.

Try the same commands to get/set offset while playing a file, if it works, you did it right :)

Another question, do you also have some experience in VC++ ? i need to give the options in an addTarget command but don´t know how..

Chris

Posted: 30 Dec 2005 19:32
by Bill W
Chris,
When I check on the multicast server, it knows how far it is into each video.I would assume that this information could be gathered up by the client as well.
I do have some experience in C++. If your question is how to make the array:

string[] MyArray= {"String1", "String2", ...};
should do the trick