Transmit RTP without RTCP!

Hi,
I’ve written an application to Transmit and Receive RTP over Custom Transport Layer with the JMF 2.1, but I'm not able to transmit RTP without RTCP. Is there any idea how this could be done?
Any help will be appreciated!
Thanks in advance,
ARIF

Looks like you implement your own version of the RTPConnector interface, and then use that to handle the input/ouput streams manually rather than relying on the default RTPManager with the local and remote SessionAddress objects.

Similar Messages

  • RTP and RTCP in JMF

    I need to test VoIP application in a wireless network. I have a program that reads a sound file and creates a RTP session to send it to other computer. In order to measure the application performace I need to take the following metrics during the RTP session:
    - Packet loses.
    - End to end delay
    - Jitter
    The questions are: how does JMF implementation of RTCP can help with all this metrics?? Does someone know some example code?

    I need to test VoIP application in a wireless
    network. I have a program that reads a sound file and
    creates a RTP session to send it to other computer.
    In order to measure the application performace I need
    to take the following metrics during the RTP
    session:
    - Packet loses.
    - End to end delay
    - Jitter
    The questions are: how does JMF implementation of
    RTCP can help with all this metrics?? Does someone
    know some example code?
    javax.media.rtp
    Interface GlobalTransmissionStats
    javax.media.rtp
    Interface ReceptionStats
    javax.media.rtp
    Interface TransmissionStatsGo through the API to see which interfaces and classes can aid your needs.

  • RTP/RTCP  Port query for JXTA

    Hello,everyone~I got a question about JXTA.
    I am trying to develop a video transmisstion system using AVRecevie3.java and AVTransmit3.java.I have already make GUIs for both sides,they work pretty well.
    By replacing the default DataProgramSocket with JxtaMulticastSocket,i then wanna implement P2P.In RTPJxtaSocketAdapter.java(implemented by myself),rtp and rtcp read two different unrelated advs to communicate,the transmitter side seems being able to transmit packet,but the receiver-side cannot recevie the stream with a message:"watiing for rtp data to arrive......"What is the problem?Or am i toally wrong about the design?
    Since RTP and RTCP use neighboring ports to coordinate the transmission,what am i supposed to do to so that the receiver-side can get the rtp stream in JXTA?
    Sorry about poor english,hope myself clear enough...
    Looking forward to your reply....Thanks

    I had the same problem and when I saw that post, I was angry that no one let an answer. So, I will do.
    My application is switching Transmitter and Receiver to make a half-duplex communication. The ports number are static. A user (receiver) always use the same port and the transmitter connect to all the ports.
    Example :
    User A -> port 22222
    User B -> port 22225
    User A talk to user B with port 22225
    User A let control to user B
    User B talk to user A with port 22222
    The fix is very simple: let at least 3 ports between each user.
    I hope this could help someone.

  • JMF RTP/RTCP Packets

    I' m using the Java JMF Environment and I want to write or show on the Screen the hole RTP and RTCP Packets. Not using a Processor to write only the data to a file.
    I want to view how a hole RTP/RTCP packet is looking like when it is arrived to me.
    Can somebody help me. I have sleeples nights.
    Thank you very much.

    Hi HagIP,
    try using the DataSourceReader:
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/DataSourceReader.html
    After reading a Buffer from the Stream, you can convert it into its raw format using e.g.:
    javax.media.Buffer b=new javax.media.Buffer();
    byte[] data;
    stream.read(b);
    if ((b.getLength()>0)&&(!b.isDiscard())) {
    data=(byte[])b.getData();
    The actual typecast may depend on the internal representation of your data in the buffer, this example is for raw streams.
    Now you just have to think of a way to visualize your data.
    HTH,
    Thomas

  • RTP and sessions please help me

    I been reading de guide of JMF, but I can�t understand something about RTP.
    I want to create videoconference, and my question is, I have to transmit to destination IP? and what have to do the client.
    I very disoriented, can someone explain me or send some complete example for understand the process.
    thanks ( sorry my english)

    AVTransmit2.java will transmit to specific IP:port (port must be even)
    It will open same port on server as that you transmit to.
    RTCP port will automatically be +1 of the port;
    AVReceive2.java will receive on specific port.
    I learned by running those examples on JMF solutions page, and then use Network monitoring tool(ETHEREAL) to understand the ports and data that is transmitted.
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVReceive.html
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVTransmit.html

  • JMF-RTP in Internet

    The streaming examples (AVTransmit and AVReceive) worked fine on LAN. but how to get it worked over the internet (where the issues of proxy, routers have to be solved ). I read through the forum, some suggest that this might be due to the computer having 2 IP stacks ( one of LAN and one to the Internet ). Anyone can provide a solution/reason to this?
    Also, is a RTP server like the Darwin Streaming Server a solution to this problem?

    I was reading a couple of the problems that are on the forum and I having similar problems to many ppl.
    Basically I have made two files based on the AVTransmit and AVReceive files, however I cannot get these two files to transmit RTP voice data over two separate networks without carrying out port forwarding on routers at each network. That is, the routers must be configured to forward traffic incoming at a specific port to a specific machine on the internal network and also firewalls must be turned off.
    E.g. port 42050 must be opened up on the router/personal computer and RTP voice data forwarded to machine 192.168.0.4 for instance.
    I was wondering if there is either a generic port which is reserved for audio that is not closed down on a router or a personal computer which can be used, thus ommitting the need to port forward (i.e. making it easier for audio conversation without going into which ports are open/closed). Or if anyway knows how to adapt these files so that the HTTP tunnelling mechanism can be used. Basically I dont want to have to resort to port forwarding and would just like to use one or a subset of ports..
    Thanks

  • Matrox O2 Mini not available for Mercury Transmit

    I'm completely new to Speedgrade so please excuse me if this is a stupid question!
    My Matrox O2 Mini is working fine in Premiere Pro but is unavailable for selection in Speedgrade under the Display Preferences for Mercury Transmit.
    Without an external monitor its pretty tricky to grade so any help would be much appreciated.
    Many thanks,
    Tony

    Thanks Elcuad - worked a treat.
    I'm pasting the instructions here for future reference...
    - with Matrox O2 Mini 7.5.2 software intalled, close all applications including Speedgrade
    - go to Registry Editor in Windows by hitting Explorer button + R key
    - type regedit in Run Open path and click OK- Registry Editor will open up
    - go to the following path: HKEY_CURRENT_USER\Software\Adobe\SpeedGrade\7.2\PluginCache.64
    - delete the PluginCache.64 folder only
    - restart SpeedGrade and let us know if you see Matrox Player

  • Is it possible to save RTP network stream to a file with DataSink?

    Because I found:
    http://archives.java.sun.com/cgi-bin/wa?A2=ind9906&L=jmf-interest&P=R4902&I=-3
    "Just one more note, if you are using RTP, you will not be able to save the data
    to a file. you can only transmit RTP data at this time."
    But that was in 1999 year and is it possible in "newer" version of JMF?
    This is my code:
    processor = Manager.createProcessor(dataSource);
    processor .configure();
    processor .realize();
    ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
    processor.setContentDescriptor(cd);
    dsOutput = processor.getDataOutput();
                   try {
                   mediaDest = new MediaLocator("file://d:/temp/tmp1.wav");
                   dataSinkSave = Manager.createDataSink( dsOutput, mediaDest );
                   dataSinkSave.addDataSinkListener(this);
                   dataSinkSave.open();
                   dataSinkSave.start();
                   dsOutput.start();               
                   } catch (Exception e) {
                        e.printStackTrace();               
    but it always throws exception:
    javax.media.NoDataSinkException: Cannot find a DataSink for: com.sun.media.multiplexer.RawBufferMux$RawBufferDataSource@1c65216
    What is the problem?Is it realy impossible to save DataSource to a file???

    If you whant to write to wav you have to set content descriptor to a simple RAW format not to RAW_RTP and also you have to write normal formats for output.
    Chack also input data. If you have video track you can not write it into wav(I THINK!!!)!!!!
    Best, Aram.

  • Agentry - Main Row Selection After Transmit

    What is the best way to maintain the currently selected row in a list screen after a transmit?  The list screen data is reloaded during the transmit so the selected row is lost.

    Christopher,
    I would recommend you look at implementing an exchange model so that you don't reload all your data each transmit.  Without understanding your application more, typically a transaction would not remove an object only to have it re-added during the fetch.  If the data is intended to stay on the device you should look at leaving it until the user is done with the data and then have it removed.
    For example, in the products if the user has a work order (WO) selected and performs a transaction against the WO and then transmits the WO is not removed first as part of the transaction and then re-fetched again later.
    If that is a requirement the only though is to store the id of the object to a main object property prior to the transmit and use a navigation step and list selection to try an reselect the row following the transmit.  Without knowing more about your application I can't say for sure if it will work or not.
    --Bill

  • How to send RTP packet through SIP Dialog

    Hello there !
    I work on a Java softphone which use JMF and Jain-SIP. I know JMF is "old" but I think it would be simple to capture and transmit RTP audio. So, my SIP dialog is working, I can send text messages but now, I would like to send RTP with this SIP session. I know I have to send SDP messages for codec convenience but then, what is the MediaLocator for RTP packet ? Only SIP User Agent IP or something else ?
    I also accept all ressources that can help me achieve my work :)

    I have no idea how SIP works, but, RTP packets go to an IP:PORT... theoretically, in the SIP phonecall setup, I'd imagine you'd have to be given the address to send RTP packets to the remote phone. Or perhaps the port is already well-defined by the SIP standard.
    Either way, you should have a way of knowing / finding out which PORT to send to for your SIP call, either from the call setup or the SIP standard itself.

  • Sending video and audio using RTP

    Hi All,
    I'm searching for a java networking guru that can might help.
    My mission is to create a video/audio streaming server. I can't use JMF because it cannot create two processors at the same time, which means that I can't have two threads in the JVM send different media files.
    I have tried to use this example :
    http://www.csee.umbc.edu/~pmundur/courses/CMSC691C/lab5-kurose-ross.html
    The thing is that I don't understand how to add audio capability to this example. How can I synch the audio/video using java code in RTP ?
    Does anyone have a simple example of how to send audio/video over RTP without JMF ? I don't care what format it should be.
    Thanks for any help,
    Tom.

    https://discussions.apple.com/thread/4491290?tstart=0

  • RTP Streaming to IVR

    Hi All,
    I'm using Cisco CRA 3.1 .I want to know that are RTP streaming supported on IVR or not. If I've to transmit RTP stream to a call which is landed on IVR .
    Please help

    Real Time Streaming Protocol (RTSP) Enhanced IVR can be used for running the IVR on a server that is external to the gateway. RTSP is an application-level protocol for control over delivery of data with real-time properties. It provides an extensible framework to enable controlled, on-demand delivery of real-time data, such as audio and video, using TCP or UDP.
    http://www.cisco.com/warp/public/cc/pd/rt/1700/prodlit/1612_pp.htm

  • Does a rtp-address be multicast?

    Does a rtp-address be multicast?
    I have a program that sends rtp-information between one address an two ports, say 130.237.251.219 port 10000 and 10100...
    I can't get my one written program to catch the rtp-packets.
    Is it because it's not multicast??
    It throws a "SessionManager exception: address is alreday in use"
    I write in the adress rtp://130.237.251.219:10000/127
    What's wrong???

    Yes and No.
    RTP is an Protocol that can be used with any other underlaying Transport-Protocol. IPX/SPX TCP/IP UDP... (Sun's implementation supports TCP/IP and UDP only.)
    If you want to use TCP/IP and you want to transmit RTP via IP-Multicast, you'll have to use an Multicast IP-address. These addresses are any of 224.0.0.0 through 239.255.255.255.
    Look at this Link to get further details about Multicast addresses:
    http://www.freesoft.org/CIE/RFC/1700/5.htm
    One other thing. You can't use the same PC to receive and transmit RTP-packets via Multicast. You can open a port only once a time and every port is available only once on a pc.
    So you need at least two pc's to work with Multicast RTP-transmitions.

  • RTP: Specifying a Static Port

    Dears,
    As you know, RTP uses port range 16384 to 32767 dynamically. Can we define any specific static port manually so that rtp always use that udp port for voice call. I am using 3800 series router for voip setup. I tried to find any configuration but couldn't.
    Waiting for immediate positive response…….
    Best Regards
    Rameez

    NBAR can properly classify RTP and RTCP, so you could use NBAR on the outbound GigEthernet interface to remark the packets to a specific ToS/DSCP value that would match your service provider's contracted CoS value(s).
    You do have multiple classes of service in your contract with your service provider?
    You mentioned in an earlier post that this is a satellite link. Not for voice (UDP) traffic, but have you tried Cisco RBSP Satellite optimizations for TCP over the Satellite link?

  • Audio Video Transmitting  and Receiving

    Can anybody help me...to do following task...
    I am doing some networking project where i need to send a video files from
    one system and play it on other system using RTP without storing it.
    I have seen some JMF example codes to transmit and receive videos but
    problem is that both audio and video streams of a video file are not been properly
    received or played back on receiving system ie for some files only audio is there and for
    some only video is there...
    I need to have some code so that both streams can be played together....
    can anybody suggest me to this so that i can implement this properly
    Its Urgent....

    Genius-java wrote:
    Its Urgent....In that case, it's probably too late to reply anyway. So sorry. Better luck next time!

Maybe you are looking for