Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
Did you just should on me? You should read this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!