[Live-devel] Stop Playing

Ramon Martin de Pozuelo rmpg2001 at gmail.com
Fri Apr 13 02:06:39 PDT 2007


Hi,
I resolved it, but it still send RTCP packets from this session so I tried
to close session. I thought using:

static void close<http://www.live555.com/liveMedia/doxygen/html/classMedium.html#65c5be413944712f682c95c9bb59f3d3>(
UsageEnvironment<http://www.live555.com/liveMedia/doxygen/html/classUsageEnvironment.html>&
env<http://www.live555.com/liveMedia/doxygen/html/vobStreamer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19>,
char const *mediumName)

but I don't undestand what's mediumName variable.

Is it the best way to close my session?

Thanks in advance,

Ramon

2007/4/12, Ramon Martin de Pozuelo <rmpg2001 at gmail.com>:
>
> Thanks for your response, Ross. Now, my problem is that it breaks down the
> application. Do you know what could be the problem. Should I close session
> too, close the source or indicate to the environment that this sink is
> stopped?
>
> Ramon
>
> 2007/4/12, Ross Finlayson <finlayson at live555.com>:
> >
> > >One of this commands has to stop streaming and then delete session.
> > >I would like to know what is the best way to do that. I proved to
> > >use VideoSink->stopPlaying() but I see this is a private void, so I
> > >thought I wasn't going by the right way.
> >
> > No, calling "stopPlaying()" is correct.  If you cast your 'sink'
> > object (pointer) to a "(MediaSink*)" before calling "stopPlaying()",
> > you'll be able to do this.
> > --
> >
> > Ross Finlayson
> > Live Networks, Inc.
> > http://www.live555.com/
> > _______________________________________________
> > live-devel mailing list
> > live-devel at lists.live555.com
> > http://lists.live555.com/mailman/listinfo/live-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070413/1e4e407a/attachment.html 


More information about the live-devel mailing list