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.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

SDP (session description protocol) file  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hoang Hai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!