Thanks Ross,
Currently I am streaming without the use of
MediaSession/MediaSubsession, check the below pseudo-code for how I am
streaming the files:
Groupsock rtpGroupsock
Groupsock rtcpGroupsock
SimpleRTPSink *videoSink = SimpleRTPSink::createNew
RTCPInstance* rtcp = RTCPInstance::createNew
ByteStreamFileSource* fileSource
videoSource = MPEG2TransportStreamFramer::createNew
videoSink->startPlaying
So my question would be where would I fit the MediaSubsession in the
above context?
Thanks,
On 28/11/2017 2:00 PM, [email protected] wrote:
Send live-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.live555.com/mailman/listinfo/live-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of live-devel digest..."
Today's Topics:
1. Re: Current playing file stats (Ross Finlayson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 28 Nov 2017 14:43:01 +1300
From: Ross Finlayson <[email protected]>
To: LIVE555 Streaming Media - development & use
<[email protected]>
Subject: Re: [Live-devel] Current playing file stats
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
I am currently developing a GUI application that uses live555 for RTP
streaming. The integration works perfectly so far and I am able to play media
files correctly, however, I have a particular question about the current file
being played status/statistics.
In the front-end of the application, I display the currently playing file name
& info in a widget with a progress bar, I want to reflect the current play
status on that progress bar. So for example if I could get/retrieve the last read
byte index, or the elapsed time relative to the currently playing file, or
anything else that helps in the said regard, then I could use this information to
update the GUI accordingly.
Any help to achieve the above would be much appreciated.
Yes, we have a function
MediaSubsession::getNormalPlayTime()
that returns the ?current playing time? for the stream. (It should work even
if you seek within the stream, and/or use fast-forward/reverse-play.)
For an example, note the code at line 514 of ?testProgs/testRTSPClient.cpp?
(enabled if ?DEBUG_PRINT_NPT? is defined).
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------------------------------
Subject: Digest Footer
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel
------------------------------
End of live-devel Digest, Vol 168, Issue 6
******************************************
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel