Re: [Live-devel] Add audio "Mediasession" SDP in to current video Server

2015-04-10 Thread Ross Finlayson
> what kind od ServerMediaSubsession objects I should use? As with the video stream, you must write your own subclass of “OnDemandServerMediaSubsession”, and implement the “createNewStreamSource()” and “createNewRTPSink()” virtual functions. Like the existing “ADTSAudioFileServerMediaSubsession

Re: [Live-devel] Add audio "Mediasession" SDP in to current video Server

2015-04-10 Thread Xingjun Chen
Hi Ross, It is aac audio(format ADTS), we encode it using Gstreamer, the SDP description is basically as below, v=0 o=-653 IN IN4 10.0.4.1 s=audio streaming t=0 0 m=audio 10004 RTP/AVP 96 c=IN IP4 244.1.1.1 a=rtpmap:96 mpeg4-generic/48000/2 a=fmtp:96 streamtype=5;profile-level-id=15;

Re: [Live-devel] Add audio "Mediasession" SDP in to current video Server

2015-04-10 Thread Ross Finlayson
Combining audio and video into a single RTSP session is trivia: Just add both “ServerMediaSubsession” objects to a single “ServerMediaSession”. But first, you need to demonstrate that you can stream just the audio by itself (as you’ve already demonstrated streaming the video by itself). The fir