My small contribution I call - StreamTV (1 Viewer)

Phunky

Portal Member
July 19, 2007
43
1
41
It's getting better :) i had the latest VLC on my client and an old 8.6 version on the TVServer D'oh!

It no longer seems to be causing TVServer to crash but i still cant get a picture on my client - But it does now show that a client is connected in the streaming server menu but it seems to be showing my actual TVServer instead of my client.

macosx debug: input has changed, refreshing interface
main debug: `http://10.0.0.9:8080/TvServer/TimeShift.ts?ChannelId=5;' gives access `http' demux `' path `10.0.0.9:8080/TvServer/TimeShift.ts?ChannelId=5;'
main debug: creating demux: access='http' demux='' path='10.0.0.9:8080/TvServer/TimeShift.ts?ChannelId=5;'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: TIMER module_Need() : 0.144 ms - Total 0.144 ms / 1 intvls (Avg 0.144 ms)
main debug: creating access 'http' path='10.0.0.9:8080/TvServer/TimeShift.ts?ChannelId=5;'
main debug: looking for access module: 2 candidates
main debug: no fetch required for Playlist (art currently (null))
access_http debug: http: server='10.0.0.9' port=8080 file='/TvServer/TimeShift.ts?ChannelId=5;
main debug: net: connecting to 10.0.0.9 port 8080
main debug: connection: Operation now in progress
main debug: connection succeeded (socket = 9)
access_http debug: protocol 'HTTP' answer code 302
access_http debug: this frame size=0
access_http debug: Content-Type: text/html
access_http debug: Server: Microsoft-HTTPAPI/1.0
access_http debug: Connection: close
access_http debug: redirection to http://10.0.0.9:10000/Card1.ts
access_http debug: http: server='10.0.0.9' port=10000 file='/Card1.ts
main debug: net: connecting to 10.0.0.9 port 10000
main debug: connection: Operation now in progress
main error: connection failed: Connection refused
access_http error: cannot connect to 10.0.0.9:10000
main debug: net: connecting to 10.0.0.9 port 10000
main debug: connection: Operation now in progress
main debug: connection succeeded (socket = 9)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms error: invalid chunk FATAL (0x4047)
access_mms debug: complete header size=0
access_mms error: header size == 0
main warning: no access module matching "http" could be loaded
main debug: TIMER module_Need() : 7455.590 ms - Total 7455.590 ms / 1 intvls (Avg 7455.590 ms)
main debug: waitpipe: object killed
main error: open of `http://10.0.0.9:8080/TvServer/TimeShift.ts?ChannelId=5;' failed: could not create access
main debug: finished input
main debug: dying input
main debug: thread ended
macosx debug: addition to non-blocking error panel received
main debug: dead input
main debug: thread 2959855616 joined (playlist/engine.c:244)
main debug: starting new item
main debug: changing item without a request (current 0/1)
main debug: nothing to play
macosx debug: input has stopped, refreshing interface
main debug: TIMER input launching for 'TimeShift.ts?ChannelId=5;' : 7513.387 ms - Total 7513.387 ms / 1 intvls (Avg 7513.387 ms)
main debug: no fetch required for Playlist (art currently (null))
main debug: no fetch required for TimeShift.ts?ChannelId=5; (art currently (null))

EDIT Looks like the first channel wouldnt load but every other one seems fine :) love it
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
A little bad luck on that first attempt but its good to hear its working now :)
 

MrMech

Portal Member
July 12, 2008
11
0
Home Country
Finland Finland
Thanks for the most useful plugin so far. I have awaited such feature quite some time now. One should be considered as build-in, if tv-server is not planning to provide its own already. I would like to contribute somehow if there isn't really so much supporters showing up ? Never used c# though :)

I would find use of such plugin with many kind of browser-enabled devices.. but firstly I tried to migrate it with Netgem Netbox (here at finland it comes with tv-recording-storage service called SaunaVisio). HD-less DVB-T box supports IPTV, uPNP and has some kind of web-browser. Customers here have awaited paytv IPTV channels from service provider that has postponed them like a year now - and plenty of other features that the box would support. I use payTV channels on MP, and now with your plugin I hope to have access to them through that box also.

Unfortunately its browser does not support rss-feeds, so I generated a file with necessary timesift.ts- links and - Voila - Wonderfull - Awesome etc.. for a moment. Occassionaly, I got it to start playback through timesift.ts-redirect - but mostly it failed. Server seemed not to respond and I tried to restart tv-service all the time. error.log fills from exceptions - some channels might just have poor signal etc - didn't use much time to those yet. However, when some channel is successfully set streaming, the direct link to e.g http://host:10000/Card3.ts opens and plays on box. Playback stutters a bit though, which I hope to be due to my TV-server configuration.

And yes, I could use uPNP, but I already have one NAS as uPNP server that shares MP recordings etc. The solution with uPNP on Box isn't so handy (service provider modified firmware). Box also has ability to map URI's to channel numbers and I believe it supports the original RTP stream. but it did not seem to start playback with rtsp://host/stream3.0 directly. However, with conversion or not - I was hoping to get easy access to tv-service channels trough that channel mapping feature.

Q: you mention to use VLC for RTSP->HTTP transcoding, what exactly happens here and does it use some temporary buffers on disk ? My tvservice is configured to keep TS in virtual ramdrive while application folders and TEMP folders are at a bit problematic SSD disk.

Q: If "Modify Stream Settings" is uncheckked - how its supposed to work then. How to configure the most lightweight use.

Note: On tv-server, when using localhost - timesift.ts redirects - but with iface IP or netbios-name it just ends up done and does nothing.

few features I would like...
- option to generate channel-list as plain html rather than rss-feed
- post-commands for stopping timesift (and maybe more to control tv-service easily from any kind of tailored frontends)
- list for currently ongoing streams to join (like TV-Streams in MP TV-menu)


Keep up the good work!
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
Thanks for the feedback it has helped me decide what i'm going to work on next.

Sadly that means a major re-write so it will a while before my next update but i'll dig up the build before what i'm working on now since it has RADIO SUPPORT!

As for the caching it controls VLC telling it to connect to the rtsp url then stream it through the http server part of VLC (for now until I write my own). VLC uses the same configuration for all instances (I believe) so if you go into VLC and check it settings you can probably change it to use your ram drive. I use SSD drives myself so I understand the issues it causes.

If you disable "modify streaming settings" then the options in the "streaming options" control group will go back to defaults so the only thing you will be able to change will be the ports used. If you want to change any of those settings you will have to turn back on the modify streaming settings section.

The major modifications i'm working on will allow for you to output the channel list to whatever you want. It is going to use xslt to transform the file to html, rss, etc.

Also it will allow for options to be set for different file extensions so you can set different extensions e.g. fla > flash output and I might add extra support for e.g. rtsp.

I like the idea for some sort of web control panel, it could allow for a temporary solution to the problem of connections not been closed off.

Also a list of all active streams should be easy enough to implement, i'll keep that in mind when I start adding more features.
 

Phunky

Portal Member
July 19, 2007
43
1
41
Can i make one request - is it possible to have a "tune channel" link on the RSS feed? or maybe just the ability to trigger just a channel change? As you dont need to re-open the stream when its already playing :)
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
If you have a stream going and go to another on the same computer it will detect it is the same computer and as long as the tuner didn't get changed by mediaportal it will just send the same hosting session back.

So basically it already does what you want just click on a link in the browser and ignore the stream it tries to connect to, your client already going will change channel.
 

hick

New Member
November 17, 2007
3
0
Home Country
Austria Austria
I'm using StreamTV with TVersity with various levels of success. One problem I'm having is that when the TVersity media is refreshed it seems to be going through all the channels in the RSS feed. This is a considerable stress on the system because there are 100's of them. Is there anyway to avoid this from happening? I'm thinking some way for streamtv to detect that this is a refresh or something and that it would not actually tune to all the channels?


Appreciate your contribution!!

Thanks,
Hick
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
Sadly tversity likes to check if the media exists before it adds it so there is nothing I can do. I already put alot of work into trying to speed up the tuning to help with that issue (it usto take alot longer to scan).

As far as I know tversity gives no information when its scanning for channels (I haven't looked) if you can find something e.g. it gives a different header when it requests the channel i'll look into it.

For now i'm in the middle of a major work to do improvements so it could take a while before I implement any changes you might find.
 

hick

New Member
November 17, 2007
3
0
Home Country
Austria Austria
Yeh, I think TVersity may put a lockfile when it's refreshing the media. That would work for my purposes but there are holes in that. I'll take a look an reply back on what I find. Being able to stream live to my PS3 is my ultimate goal. I'd be happy to help with the code if you like.
Hick
 

Blinx

New Member
March 8, 2009
3
0
Can multiple users watch the same channel at the same time? And can it be accessed over the Internet or only LAN?
 

Users who are viewing this thread

Top Bottom