Automatically stop TimeShifting when stream isn't watched

johnq

New Member
April 18, 2008
2
0
I'm trying to integrate this plugin in my own website via PHP and the SOAP commands

I can succesfully execute the commands, and start timeshifting. Also stop timeshifting works. But I don't know how to detect wether the user has stoped viewing and that I can stop the timeshifting so another user can view another channel.

Is there an option to automatically stop the timeshift after a period of time where there weren't any users connected to the stream?

Also does somebody know what the SOAP function SendHeartBeat does? I feel this may be used by this, but I can't really figure out what it does...
 

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    113
    Home Country
    Germany Germany
    If you use the rtsp url from TvServer then you can't detect it.
    If you use the streamer.aspx page then this is handled automatically. Also a heartbeat is sent.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    113
    35
    Austria
    Home Country
    Austria Austria
    I don't think there is a method for this because the webservice only gives you the link to the rtsp stream, after that it has nothing more to do with the playback.

    You could use the "Streamer.aspx" page which stops timeshifting once the stream is ended (playback stopped).

    edit: too slow ;)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom