Thank you Eswar,
I will try again on that approach... if I don't resolve the
problems I
will post on the list again.
Basically, I was seeing a problem where the client did not
disconnect
gracefully from the server when I called Disconnect(). The
client
(realplayer) would no longer play the audio but it would
continue to
count off seconds and act as if connected and streaming
until it reached
the end of the stream. The only difference was that the
audio no longer
played.
I never got the Redirect () operation to work at all once
the client had
begun streaming. Nor the AlertAndDisconnect().
Rick
Eswar Bala wrote:
> Rick -
>
> You should be able to do #1 just like what you have
done. Schedule a
> callback and issue Disconnect or AlertAndDisconnect on
the
> IHXPlayerController object.
>
> Eswar
>
> Rick Wager wrote:
>> Apologies if you receive this twice....
>>
>> Hello,
>>
>> I've developed an authorization plugin based on the
examples in the
>> SDK that works fairly well. However, one thing I
need to be able to
>> do is terminate streaming (disconnect the client)
after N seconds of
>> streaming. My 1st approach was to use the
scheduler to schedule a
>> callback to my plugin code and use the
IHXPlayerController methods
>> such as Redirect(), Pause() or Disconnect() to
interrupt streaming to
>> the client. Unfortunately, this approach does not
work well. So,
>> some questions:
>>
>> 1) Can I use the PlayerController interface to
interrupt streaming to
>> a client at some arbitrary time while the client is
connected/streaming?
>> 2) If not, is it possible to control the client
(disconnect and/or
>> redirect)? How?
>>
>> Thanks in advance!
>> Rick
>>
>
--
Rick Wager
email: garrickwager comcast.net
303-818-0576 (mobile)
_______________________________________________
Helix-server-dev mailing list
Helix-server-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev
|