Alessandro Cataldi | 2 Aug 2010 13:00
Picon

Multi-destination stream relayer

Hi Ross,

I'd like to use Live555 library and your testProgs as a basis to create the following module:
a deamon that is receiving a multicast stream and that accepts requests to relay this stream to multiple unicast destinations. In other words, when the module receives a "new destination request" message, it must be able to stream the content (via unicast) to this new destination and to all previous ones (previously registered).

Thanks in advance,

Alessandro Cataldi
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ahmed Atef | 3 Aug 2010 15:36

Re: problem streaming Mpeg files to Amino settop box using live555 streaming server

Dear All

 

Kindly help me as I am trying to stream MPEG file to Amino settop box

 

I found a sample file at your site (wwe.m4e) its an mpeg-4 file and it is working on my PC but when I try to run it on the settop box I got the following error

 

“ BasicUDPSink::afterGettingFrame1(): The input frame data was too large for our spcified maximum payload size (1450).  2568 bytes of trailing data was dropped! “

 

Please help me as this is an urgent matter for me.

 

I couldn`t find any Mpeg-1 or MPEG-2 files on your site to stream and the samples I got from the internet didn`t work at all with your streaming server, so please send me some files if this was the problem.

 

 

Kind Regards

 

     Ahmed Atef

     system Engineer

 

     Interact Egypt

    7B Omar Shaaban st.

     Nasr city, Cairo

 

     T +202  24149624

     F +202  26904981

     M +2010 0102058

 

 

From: Ahmed Atef [mailto:ahmed.atef-6hjaaxo62fizA7uQ6Q2P2Q@public.gmane.org]
Sent: Monday, July 26, 2010 4:48 PM
To: live-devel-cunTk1MwBs/NLCcxxxaBvgC/G2K4zDHf@public.gmane.org
Cc: 'Fady Ramzy'; 'Remon Magdy'
Subject: problem with the live555 streaming server

 

Dear All

 

I am trying to stream mpg files to amino settop box using the Live555 streaming server but I couldn`t have any stream even when trying to stream from my pc using the quicktime player

The player just keep trying to connect and after about a minute it disconnect automatically or the player crashes

I tried it from 2 different PCs with no luck.

the server keeps displaying these lines :

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

StreamParser::parsePESPacket(): saw inconsistent PES_packet_length 925 < 926

 

Your fast response is highly appreciated

 

Kind Regards

 

     Ahmed Atef

     system Engineer

 

     Interact Egypt

    7B Omar Shaaban st.

     Nasr city, Cairo

 

     T +202  24149624

     F +202  26904981

     M +2010 0102058

 

 

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 3 Aug 2010 15:54
Favicon

Re: problem streaming Mpeg files to Amino settop box using live555 streaming server

I believe the only kind of data that the Amino settop box will accept 
is MPEG Transport Stream data.  Therefore the only kind of file that 
you can stream from our servers to such a settop box is a MPEG 
Transport Stream file.

".m4e" files are *not* MPEG Transport Stream files.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Ahmed Atef | 3 Aug 2010 16:23

Re: problem streaming Mpeg files to Amino settop box using live555 streaming server

Thank you so much for your fast and professional response.

Kind Regards

     Ahmed Atef
     system Engineer

     Interact Egypt
    7B Omar Shaaban st.
     Nasr city, Cairo

     T +202  24149624
     F +202  26904981
     M +2010 0102058

-----Original Message-----
From: live-devel-bounces <at> ns.live555.com
[mailto:live-devel-bounces <at> ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, August 03, 2010 4:54 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] problem streaming Mpeg files to Amino settop box
using live555 streaming server

I believe the only kind of data that the Amino settop box will accept 
is MPEG Transport Stream data.  Therefore the only kind of file that 
you can stream from our servers to such a settop box is a MPEG 
Transport Stream file.

".m4e" files are *not* MPEG Transport Stream files.
--

-- 

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

_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
d2 | 3 Aug 2010 16:38
Picon

Re: problem streaming Mpeg files to Amino settop boxusing live555 streaming server

For reference they should also support mms / http asf streams from windows media server (using VC-1 encoding).

Hth

Dom
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Ross Finlayson <finlayson@...>
Sender: live-devel-bounces@...
Date: Tue, 3 Aug 2010 06:54:12 
To: LIVE555 Streaming Media - development & use<live-devel@...>
Reply-To: LIVE555 Streaming Media - development & use
	<live-devel@...>
Subject: Re: [Live-devel] problem streaming Mpeg files to Amino settop box
 using live555 streaming server

I believe the only kind of data that the Amino settop box will accept 
is MPEG Transport Stream data.  Therefore the only kind of file that 
you can stream from our servers to such a settop box is a MPEG 
Transport Stream file.

".m4e" files are *not* MPEG Transport Stream files.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Guy's Hotspot | 3 Aug 2010 19:37
Picon

Re: problem streaming Mpeg files to Amino settop box using live555 streaming server

Amino guys are so silent even though I have signed a nda with them.
I am trying to set up a demo platform with live555, Aminet 125, VLC ???
Is there a link for a turorial ? Their jmacx is also hard, I will seriously appreciate if someone has an EPG sample.
 
Thanks


 
2010/8/3 Ahmed Atef <ahmed.atef-6hjaaxo62fizA7uQ6Q2P2Q@public.gmane.org>
Thank you so much for your fast and professional response.

Kind Regards

     Ahmed Atef
     system Engineer

     Interact Egypt
    7B Omar Shaaban st.
     Nasr city, Cairo

     T +202  24149624
     F +202  26904981
     M +2010 0102058




-----Original Message-----
From: live-devel-bounces-m22LxytlYjp4ccXRSk2lxg@public.gmane.org
[mailto:live-devel-bounces-m22LxytlYjp4ccXRSk2lxg@public.gmane.org] On Behalf Of Ross Finlayson
Sent: Tuesday, August 03, 2010 4:54 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] problem streaming Mpeg files to Amino settop box
using live555 streaming server

I believe the only kind of data that the Amino settop box will accept
is MPEG Transport Stream data.  Therefore the only kind of file that
you can stream from our servers to such a settop box is a MPEG
Transport Stream file.

".m4e" files are *not* MPEG Transport Stream files.
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel-cunTk1MwBs/NLCcxxxaBvgC/G2K4zDHf@public.gmane.org
http://lists.live555.com/mailman/listinfo/live-devel


_______________________________________________
live-devel mailing list
live-devel-cunTk1MwBs/NLCcxxxaBvg@public.gmane.orgm
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Shyam Narayanan | 3 Aug 2010 23:04

RTP over HTTP

Hi LIVE555-ians

I have already read the various articles of comparisons of TCP vs UDP for RTP and I understand the differences.

What I am looking for is

a. Has anyone tried the LIVE555 code running it as a server successfully for RTP over HTTP for compressed live video (such as H.264 coming from a camera - not just playing off a disk and not just uncompresssed video) ?

If so,
b. What was your experience - did you notice any video quality issues - or any other difference from playing it over UDP ?

c. Did you need to make any changes to the LIVE555 code to get this to work or did the existing code base work out of the box ?

d. Can I use a generic client such as VLC player to play this stream or would I need to write a program that uses code similar to the OpenRTSP client with -t switch.

Regards
Shyam

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 4 Aug 2010 00:10
Favicon

Re: RTP over HTTP


I have already read the various articles of comparisons of TCP vs UDP for RTP and I understand the differences.

What I am looking for is

a. Has anyone tried the LIVE555 code running it as a server successfully for RTP over HTTP

Do you really mean "RTP over HTTP"?  Our server implementation does not (yet) support "RTP over HTTP".  I think you mean "RTP over RTSP".


 for compressed live video (such as H.264 coming from a camera - not just playing off a disk and not just uncompresssed video) ?

If so,
b. What was your experience - did you notice any video quality issues - or any other difference from playing it over UDP ?

c. Did you need to make any changes to the LIVE555 code to get this to work or did the existing code base work out of the box ?

See <http://www.live555.com/liveMedia/faq.html#liveInput-unicast>



d. Can I use a generic client such as VLC player to play this stream or would I need to write a program that uses code similar to the OpenRTSP client with -t switch.

You can use VLC.  However, if you want to ensure that you always receive the stream via RTP-over-TCP (even it it can also be received via UDP), then you should set the appropriate flag in VLC's "Input & Codecs" Preferences panel.
-- --

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Aranganathan Sankaradoss | 4 Aug 2010 07:48
Picon

record stream even after restarting server

hello Friends,

        I have integrated the Live555 open source code with my Set top box's source code. My set top box could receive the RTSP stream and I could pass it to the demux in Set top box and I could see the video.

If the RTSP server is restarted then in that case, I could not receive the stream from my Set top box.

How to recover getting data from server, even after the server gets restarted?

Regards,
Arang.




_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
John Tam | 6 Aug 2010 22:47
Picon
Favicon

Server runaway streams for shared session for RTP-over-TCP client

Hello,
 
I am using the RTSP server functionality of the LiveMedia library, and I might have resolved a client session management issue.  The senario is when a ServerMediaSubsession is shared [reuseFirstSource=True] and clients choose RTP-over-TCP for streaming mode, only the last requested RTP-over-TCP RTSPClientSession can be torn down.  All of the objects under the ServerMediaSession will be runaways.  The MediaSink keeps playing, and the RTPInstance writes with socket error.  The stderr shows socket write attempts after all of the RTSP clients are closed.
 
I am trying to limit the scope of the impacted code, and there seems to be two area in the RTPInstance.cpp that are contributing to the problem.  #1, The RTPInterface::setServerRequestAlternativeByteHandler() function is overwriting the handler and clientData of an already assigned SocketDescriptor object.  It makes all existing socket descriptor of the server media subsession to map to the latest RTSPClientSession instance.  #2, When RTCPInstance::addStreamSocket() function adds a new stream channel, the RTPInterface::stopNetworkReading() function calls deregisterSocket() and wipes out the existing SocketDescriptor to RTSPClientSession mapping.  Therefore, only the last newly added SocketDescriptor has a valid fServerRequestAlternativeByteHandler to notify of RTSP TEARDOWN command.
 
I have not updated myself to the latest, but I am only working on an older version of the LiveMedia library from March 16, 2010.  I think my proposed fix should not have any conflict with the latest code base.  The changes are as the following:
 
1a)  Test before overwriting an assigned handler.
void RTPInterface::setServerRequestAlternativeByteHandler(ServerRequestAlternativeByteHandler* handler, void* clientData) {
  for (tcpStreamRecord* streams = fTCPStreams; streams != NULL;
       streams = streams->fNext) {
    // Get (or create, if necessary) a socket descriptor for "streams->fStreamSocketNum":
    SocketDescriptor* socketDescriptor = lookupSocketDescriptor(envir(), streams->fStreamSocketNum);
    if (! socketDescriptor->hasServerRequestAlternativeByteHandler()) {
      // Assign a handler & clientData only when there has not been one to avoid mixing up the TCP socket with the intended RTSPClientSession object from RTSPClientSession::handleCmd_PLAY().
      socketDescriptor->setServerRequestAlternativeByteHandler(handler, clientData);
    }
  }
}

1b)    Add a new public method to determine if a handler has been already installed.
  Boolean SocketDescriptor::hasServerRequestAlternativeByteHandler() const {
    return NULL != fServerRequestAlternativeByteHandler;
  }

2a)  Preserve the mapping of handler of existing TCP client.
void RTPInterface::stopNetworkReading() {
  // Normal case
  envir().taskScheduler().turnOffBackgroundReadHandling(fGS->socketNum());
  // Also turn off read handling on each of our TCP connections:
  for (tcpStreamRecord* streams = fTCPStreams; streams != NULL;
       streams = streams->fNext) {
       // Do not deregister because the RTP interface will lose the handler and clientData inside the SocketDescriptor.
       // Instead simply stop reading of the socket by turning off the read handler.
       envir().taskScheduler().turnOffBackgroundReadHandling(streams->fStreamSocketNum);
  }
}

2b)  Register new TCP client or renew the socket handler of an existing TCP client.
void RTPInterface
::startNetworkReading(TaskScheduler::BackgroundHandlerProc* handlerProc) {
  // Normal case: Arrange to read UDP packets:
  envir().taskScheduler().
    turnOnBackgroundReadHandling(fGS->socketNum(), handlerProc, fOwner);
  // Also, receive RTP over TCP, on each of our TCP connections:
  fReadHandlerProc = handlerProc;
  for (tcpStreamRecord* streams = fTCPStreams; streams != NULL;
       streams = streams->fNext) {
    // Get a socket descriptor for "streams->fStreamSocketNum":
    SocketDescriptor* socketDescriptor = lookupSocketDescriptor(envir(), streams->fStreamSocketNum);
    // Restart a previously stopped stock read handler or start a new one
    if (NULL != socketDescriptor->lookupRTPInterface(streams->fStreamChannelId)) {
      socketDescriptor->reregisterRTPInterface();
    } else {
      // Tell it about our subChannel:
      socketDescriptor->registerRTPInterface(streams->fStreamChannelId, this);
    }
  }
}

Cheers,
John
 
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel

Gmane