This week's book giveaway is in the NodeJS forum. We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line! See this thread for details.
Hi everybody, I'm working with streaming audio, so I need to create a SDP file for every transmission. I haven't found a tool in the JMF API documentation to do this. Could any one tell me how to do it ? Thanks in advance
posted 17 years ago
I post this for my specific case: use JMF to send/receive media streams and Darwin Streaming Server as an intermediate broadcaster. I just work out a little how to create SDP file that DSS4 and QuickTime player can use to reflect my stream (just the JMF audio rtp transmitter is my own built application ;( ) SDP file : e.g : port6k.sdp c=IN IP4 127.0.0.1 m=audio 6000 RTP/AVP that will work in conditions : 1. audio stream format is those of DVI4(Mono, 8000/11025/22050Hz), ULAW2:1 8000Hz, Mono. 2.the transmitter send rtp audio streams of the above formats to port 6000 (this value is not important, you can change but should not cause conflict to known ports ) 3. the sdp file must be placed in the movie directory (/usr/local/movies/ by default ) 4. till now, I'm just able to play the reflected stream by QuickTime player or via an EMBED tag in a webpage that reference to the sdp above. for QT player : open URL : rtsp://DSSdomain/port6k (the sdp file name, the extension .sdp is not important and obmittable ) But this is hand-editing, I'd like to know if there's a professional way to create SDP file ( use the sdp package of JMF ) thanks
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
global solutions you can do in your home or backyard