[Live-devel] How to rescale the session during streaming
yj
yunjnz at yahoo.com
Fri Mar 17 01:19:52 PST 2006
Thank you for your help.
Actually, I'm developing the corresponding RTSP server
based on LiveDotCom.
I just checked the network data between my client and
server.
I found that the server has received the PLAY request
sent from the client via the network data, but the
server doesn't response any message for this request,
I opened the following debug information:
#ifdef DEBUG
ptr[bytesRead] = '\0';
fprintf(stderr,
"RTSPClientSession[%p]::incomingRequestHandler1() read
%d bytes:%s\n", this, bytesRead, ptr);
#endif
in the
RTSPServer::RTSPClientSession::incomingRequestHandler1(),
but can't get any output for this request, and the
other requests during opening the stream outputed
right information in the terminal.
Can you help me for this issue? I'm using the latest
version--2006.03.17.
A lot thanks.
--- Ross Finlayson <finlayson at live555.com> wrote:
>
> >I want to ask a question about how to rescale the
> >session in RTSP Client during streaming?
> >can I only call the function playMediaSession(
> >p_session, -1, -1, scale_factor )?
>
> Yes, the "scale" parameter to
> "RTSPClient::playMediaS(ubs)ession()"
> indicates the requested 'trick play' scale factor.
> (Numbers > 0 mean
> 'forward play'; numbers < 0 mean 'reverse play'.)
>
> Of course, this works only if the server supports
> it. Many (if not
> most) servers do not support "scale"s other than 1.
>
>
> Ross Finlayson
> Live Networks, Inc. (LIVE555.COM)
> <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the live-devel
mailing list