Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

SDP (session description protocol) file

Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
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 )
I was born with webbed fish toes. This tiny ad is my only friend:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic