• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

SDP (session description protocol) file

 
Greenhorn
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
Greenhorn
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 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
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic