Jump to content

netstream plugin - channel change ?


gibman

Recommended Posts

Posted

Hi!

 

I am currently using the netstream plugin as a "DVB server" for my other DVBViewer clients.

This is working ok.

 

I was using dvbserver.exe before.

 

Although it would be nice to be able to change channel.

I know this can be done with the web interface.

But this is too clunky when using a remote.

 

Or should I just make do with dvbserver.exe ?

 

/Gibman

Guest Lars_MQ
Posted

the netstreaming plugin is the same as the build in netstreaming in 3.2.6. this means only the current channel is streamed and you have to change the channel with the DVBViewer (or via webinterface).

Posted

Ok.

Still no way u will support channel changing from dvbv client then ?

 

Anyways, I played around with some tools and got it working.

It's a bit alternativ, but it does the trick.

 

I first tried to use the DVBViewer COM object on the client, by using distributed COM ... DCOM.

But this is too much of a hassle setting up. Security settings here and there.

 

I finally gave up on that part. I got bored by it, hehe.

 

Instead I used the free psexec tool from sysinternals.

 

By running this on my client I get get the DVBViewer on the server to change it's channel.

 

OSD.execnewprocess "psexec.exe", "\\192.168.1.2 -i -d -u user -p password \programmer\DVBViewer\DVBViewer.exe -c" & CStr(aID), false,false

 

 

On the clientside, edit the channelchange.vbs like this:

 

 

sub main(aID)

....

 

OSD.execnewprocess "psexec.exe", "\\192.168.1.2 -i -d -u user -p password \programmer\DVBViewer\DVBViewer.exe -c" & CStr(aID), false,false

 

.....

 

download psexec.exe and place it alongside DVBViewer.exe.

http://www.sysinternals.com/Utilities/PsExec.html

 

if u get access denied errors when running the job, then try and search the forum here:

http://forum.sysinternals.com/forum_topics...?FID=8&PN=0

 

Hope this was useful for others, maybe in some other context.

 

/Gibman

  • 2 weeks later...
Posted (edited)

Hi Gibman

that sounds great and I like to try it, but I found no channelchange.vbs.

Can you help?

 

Regards Kaloschke

Edited by Kaloschke
Posted
that sounds great and I like to try it, but I found no channelchange.vbs.

 

Yeah, look in the scripts folder.

If not, then make one.

 

make sure the contents look like this:

 

sub main(aID)

 

OSD.execnewprocess "psexec.exe", "\\192.168.1.2 -i -d -u user -p password \programmer\DVBViewer\DVBViewer.exe -c" & CStr(aID), false,false

 

end sub

 

Remember to replace the user and password params. in the above line.

they should reflect the actual windows user and pass on the server.

 

also, to speed up channel change on the client, make sure that do this.

 

server:

run dvbserver.exe dvb port:4012 and unicast:2345

run DVBViewer.exe - setup its unicast connection to localhost with the above ports.

enable netstream plugin. and configure out to port unicast port 2346

 

Now the DVBViewer on the server gets its source from dvbserver.exe locally.

 

client:

run DVBViewer.exe - setup its unicast connection to server ip with unicast port 2346!!! and dvb port:4012

now the client gets the TS stream from the servers DVBViewer-netstream instance.

It also connects to the dvb control interface on the dvbserver on the server.

 

If the client has no dvb control thingie to connect to, channel change is slow. u will notice it, trust me.

 

/Gibman

Posted

Hi Gibman,

 

thank you very much for your answer. I will try that, but now I have problems using psexec. Following the link, you posted, I find, that I had first to change the simple filesharing to classical filesharing.

 

 

Regards Kaloschke

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...