start at stream position.... (3 Viewers)

gstone

Portal Member
November 29, 2006
11
0
54
The tv server is great. I am using it with vlc. However i would like to connect vlc to an existing stream at the "live position.

At current when I create a stream on the server and connect to it with vlc..vlc starts the stream from the point it was created at on the server. Is it possible to connect at the point the live stream is at?
 

joboehl

Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    I second that, but not only to VLC. I think it makes more sense to the TV Client to always start at the "live" point (end-of-stream) when tuning a channel.

    Julio
     

    gstone

    Portal Member
    November 29, 2006
    11
    0
    54
    My reason is more for an external app. What I am doing is building a tv server with 4 tuner cards. When the server starts I will start all four streams. They will run all the time.

    Then I am building a app for a remote pc that will display the streams. Problem is if I can't go to and display the live(end of stream) point then everything is always behind.

    Any ideas?
     

    drfonz

    Portal Member
    October 23, 2006
    31
    0
    Leeds
    Home Country
    United Kingdom United Kingdom
    I would also be interested in being able to get the RTSP server to stream from the "Live" point of the stream (or as close to it as possible) and NOT from the beginning of the timeshift buffer.

    Can we do this from code (in the client side)? Or do we need to delve into the StreamingServer project and do it ourselves?

    AL
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    drfonz,

    The client plug-in should already do this. I think VLC is the one that doesn't.

    It depends on the client actually where it whants to begin watching.
     

    drfonz

    Portal Member
    October 23, 2006
    31
    0
    Leeds
    Home Country
    United Kingdom United Kingdom
    joboehl,

    thanks for the advise! I guess having been using my test app for so long has made me look sight of things :) I use the VLC embedded COM component for a little test harness to test my code, and that's where I went wrong. I'll refer to the TV Plugin and probably write my own little RTSP client so I can communicate to TVServer properly.

    Thanks!
    AL
     

    samposoft

    Portal Member
    January 14, 2007
    28
    0
    Home Country
    Italy Italy
    I have the same problem. I dont know how write a little RTSP client that work with TVEngine. There is a sample source code?
     

    drfonz

    Portal Member
    October 23, 2006
    31
    0
    Leeds
    Home Country
    United Kingdom United Kingdom
    Well, MP uses Live555 streaming engine, so you can always reuse that for the client side. I believe they have encapsulated it into StreamingServer.dll which is a C++ DLL, so you'll have to use P/Invoke to access the client side of things.

    II haven't had a chance to look into the TV Plugin, but since this is supposed to do it already, I presume all the necessary methods have already been exposed for you :)

    Cheers!
    AL
     

    samposoft

    Portal Member
    January 14, 2007
    28
    0
    Home Country
    Italy Italy
    RTSP sample player

    I have build a sample standalone Player based on svn Mediaportal sources for view TVengine streaming. :)

    The application work but there is a lot of bugs.... I have coded this sample in 1 day.

    You can download the source from this url:
    http://www.samposoft.it/RTSPPlayer.zip

    There are some problem that I found:

    I note that the directshow filter "RtspSource.ax" work if the client and server are in the same pc, otherwaise is very slow and crash....

    Using VLC to play streaming from TVEngine on another PC works slow...
    Using VLC to play streaming from VLC on another PC work very well.

    I think that "StreamingServer.dll" component on TVEngine not have good performance...

    I dont have idea how to resolve these problems.
    I hope that someone have know-how to resolve these bugs and share the works.

    Sorry for my bad English.:sorry:
     

    lar282

    Portal Pro
    July 11, 2004
    414
    2
    Thank u

    I think it is working perfectly.
    I have the server on one pc and your app on another.Low cpu,no stutter,seek works great. Just what I needed togheter with my little app to change channels.
    Maybe I should combine the 2 apps!
    EDIT:I did,see pic:EDIT

    Note: I did not reg the *.ax files. I used the latest one from the svn build:Note

    thank u again


    //Lasse
     

    Users who are viewing this thread

    Top Bottom