Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about RTP  RSS feed

 
Joseph Lee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys, does any one know how to create a SendStream with RTPManager, send it through RTP protocol, and receive it on client side. i've decompiler the RTPSesssionMgr.java, FormatInfo.java and i saw it's only support for
the formatdow below
formatList[0] = new AudioFormat("ULAW/rtp",8000D, 8, 1);
formatList[3] = new AudioFormat("gsm/rtp", 8000D, -1, 1);
formatList[4] = new AudioFormat("g723/rtp", 8000D, -1, 1);
formatList[5] = new AudioFormat("dvi/rtp", 8000D, 4, 1);
formatList[14] = new AudioFormat("mpegaudio/rtp", -1D, -1, -1);
formatList[15] = new AudioFormat("g728/rtp", 8000D, -1, 1);
formatList[16] = new AudioFormat("dvi/rtp", 11025D, 4, 1);
formatList[17] = new AudioFormat("dvi/rtp", 22050D, 4, 1);
formatList[18] = new AudioFormat("g729/rtp", 8000D, -1, 1);
formatList[26] = new VideoFormat("jpeg/rtp");
formatList[31] = new VideoFormat("h261/rtp");
formatList[32] = new VideoFormat("mpeg/rtp");
formatList[34] = new VideoFormat("h263/rtp");
formatList[42] = new VideoFormat("h263-1998/rtp");
does any one know which data resource i should use? coz everytime i use RTPManager.creatSendStream(); i got a Exception for Unsupported Format
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!