How do I transmit an RTP stream using only a datasource?

I've been following this tutorial: http://members.jcom.home.ne.jp/3117216601/jmf2guide/RTPPresenting.html
And I have clients that can send me RTP audio streams, which are received in the update method.
Now, update generates a NewReceiveStreamEvent. Which has a datasource that I can play.
But what I want to do. Is have send the DataSource back to that client. (The ip address is unknown... but that shouldn't matter, as RTP is two-way).
I want to send the DataSource back to the client, because later, we will be routing different clients, and who they can talk to and such. But I want to start with the basics.

captfoss wrote:
DerNalia wrote:
But what I want to do. Is have send the DataSource back to that client. (The ip address is unknown... but that shouldn't matter, as RTP is two-way).RTP isn't two-way, RTP is one way... RTCP is two-way. The data transport is duplex, the QOS/control messages are duplex...
So you do need to know the IP address of the client in order to send anything to him...
I want to send the DataSource back to the client, because later, we will be routing different clients, and who they can talk to and such. But I want to start with the basics.You should just be able to turn around and give the DataSource that's receiving the RTP stream to an RTPManager and broadcast it back out... assuming you're not transcoding it out of its RTP format or anything.I don't have the IP address. So is this even possible without switching to RTCP? if so if you an example, that would be awesome. Also an example of two way communication with RTCP would be awesome too.
Does RTCP used the same sort of structure that RTP does? like is there a DataSource that could be merged with other datasources, and sent back to where one of the datasources came frome?

Similar Messages

  • How to publish a local audio stream using NetStream?

    As all we know, if we want to publish a stream to FMS or Red5, we can code like below:
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp://localhost/myApp");
    var ns:NetStream = new NetStream(nc);
    ns.attachAudio(Microphone);
    ns.publish("audio", "live");
    my problem is that we can pass an instance of Microphone to ns.attachAudio() only, if I want to attach a local audio stream,like playing a local sample.flv file to become a audio stream, how can I do?
    this issue has been asked 7 years ago, see the post. but i can not find any solutions.
    any tips will be appreciated. thx in advance.

    how to watch my local network stream using java,help!http://www.ethereal.com - a third party program (but not using java)

  • How to compress non-image object streams using maximum compression in acrobat x pro

    How to compress non-image object streams using maximum compression in acrobat x pro
    Please provide the screenshot if possible. Thanks!

    ZIP is the best compression for non-image streams, and it will almost certainly already have been used.

  • How do i confirm whether it is using only one partition.

    I want to select the data from one partition only.
    How do i confirm my select query using only one partition.
    To front end developers how do i suugest to use correct partition.
    I know in the select query we can write partion name also if i know the partition.
    But i don't the correct partition name as a front end developer.

    Hello,
    You can find partitions for the table from following view user_tab_partitions. You can use PARTITION Clause but it defeats the purpose of having partition key column,
    You should be able to do this
    select * from my_part_table where part_key='key';Regards

  • How to disable the security code and use only the Touch ID

    how to disable the security code and use only the Touch ID

    You can't use Touch ID without a passcode.
    http://support.apple.com/kb/HT5883

  • HeuristicHazard within a transaction using only one DataSource

    We have an ejb 2.0 application running under WL 7.0 SP1. Its CMP beans are
              persisted in two Oracle 9i databases, some beans from different databases
              are related (have CMR). We are using XA Oracle JDriver for both pools.
              The javax.transaction.HeuristicMixedException exception occurred when the
              client application called getId() method on the local interface of one of
              the beans. The client is a webapp deployed together with the ejbs in the one
              EAR.
              The mentioned bean doesn't have any CMR with any bean from the other
              database, and its transaction attribute is 'Required'. Therefore method call
              which resulted in HeuristicMixedException was using only one DataSource. Why
              did exception happened?
              

    No.
    There is a very slight increase in performance if you have two chips of the same size, but it is something that will only really show up in benchmarks.
    Get 1GB now and leave the other 256MB chip in there. When you have an extra $80 around doing nothing, grab another stick.

  • HOw to check for the Child Elements USing only SAX Parsr?

    HI Guyz,
    How to check whether there are any Child Elements in an XML file using ONLY SAX parser ??? I have a requirement of checking first whether there is any Child Elements exists for a Element or not and based on that I have to take certain actions. Can anyone suggest me How to do that ???
    Thanx
    KK

    Since SAX is event controlled, you wont know if there's a child element unless you actually bump into it with the Parser. You'll simply get another startElement event after your current one.
    /Tom

  • How can i rename a jar file using only java code

    i have tried everything i can think of to accomplish this but nothing works.

    ghostbust555 wrote:
    In case you geniuses haven't realized I said I tried everything I can think of not that I tried everything. So help or shut up I realize that I didn't try everything but if you can't figure it out either DO NOT POST.
    And the question is how can i rename a jar file using java code? As it says in the title. Read.I would tell you to use the File.renameTo method, but surely that would have been obvious, and you would have tried it already? But maybe you didn't. You were kind of lacking in details in what you tried.
    And yes, I am a genius. Just don't confuse "genius" with "mind-reader".

  • Screen presenter application in an RTP stream using JMF - very slow..

    I am trying to build a screen presenter application using JMF. I got the AVTransmit2 code to run with the Screen grabber data source. I use the following calls
    java AVTransmit2 screen://0,0,160,120/10 224.122.122.122 2222
    - java AVReceive2 224.122.122.122/2222
    The AVReceive does receive the screen data stream in RTP, but either there are too many artifacts(h263) or it is too slow(JPEG format). Is there a way to optimize the screen grabber data source or the encoding somehow to make this more efficient?

    ucla_jatt wrote:
    The AVReceive does receive the screen data stream in RTP, but either there are too many artifacts(h263) or it is too slow(JPEG format). Is there a way to optimize the screen grabber data source or the encoding somehow to make this more efficient?It's not really a question of efficiency, most likely.
    You're probably trying to broadcast a very, very high resolution video (your screen is probably a minimum of 1024x768) at a very, very high framerate (30 fps, I'd bet).
    A DVD runs at 640x480 at around 30 frames per second.
    You're trying to broadcast a video feed with over two and a half times as much visual information as a DVD has, and that's before you throw in that a DVD is encoded using MPEG4 compression.
    In the end, you're probably trying to broadcast 754,974,720 bits per second (1024x768x32(bit color)x30(fps)), or roughly trying to dump 1 CD-RWs worth of data to your network card per second...
    You want it to work well, you're going to need to decrease both the framerate and transcode the full-size video down into a smaller size...
    Or you can go into the DataSource code and modify the resolution of the screen capture image before it's compiled into the video. That would also work.

  • How can I transmit and receive messages using Vector CANTech CancardXL with LabVIEW?

    I'm a new LabVIEW user and I need transmit and receive CAN messages using a CancardXL from Vector CANTech with LabVIEW.
    Could somebody have any vi or suggestion?

    I made a set a LabVIEW VIs to work with Vector/Softing CANCards starting from an example program I downloaded from Softing. These use the Call Library Node to interface with the cards .dll.
    I can't give these out because they were developed for a customer. I would contact Vector and see if they have an example program for your card. Might be the same one I started with.
    [caution, salesman hat going]
    Of course if you need help developing the VIs, we'd more than happy to assist you.
    [remove saleman hat]
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How to I Produce Serial Data Stream Using DIO Channel

    I would like to output to a "serial to parallel" circuit (74HC194 (Universal Shift Register IC)circuit) for the purposes of increasing my digital I/O off of my DAQPad-6020E. Does anybody have an example of outputting a data stream (both a clock and a "data out" stream)? All I would need is a clock edge after every output bit, but since I am new to producing vi's, I was hoping that someone would be able to give an example of an approach to take.
    The closest thread I found on the message board was a request to produce a PWM signal. My signal does not have to be that precise since I will be latching every new data bit with an independent clock edge.
    Thanks to anyone out there considering this problem.
    ThisRock

    Hello,
    Because the DAQPad-6020E does not have hardware timed DIO, you will be forced to output software timed digital data. Are you using LabVIEW 7.1? If so, one approach would be to generate an output counter pulse and use that to time a Timed Loop in LabVIEW. That way, for every output pulse of the counter, the timed loop would iterate. If you place your digital write VIs in that loop, you will output a digital value for every rising/falling edge of the counter output.
    Does this answer your question? If not, please give a little more detail about the Universal Shift Register IC and what it would require from your DO lines.
    Regards,
    Sean C.

  • How can I make a 3D cube using only Flash CS4?

    Looking for a tutorial on how to make a 3d cube. The best one I found was how to make a book, which is three sides short of a cube. If worse comes to worse I think there's a way to take two identical movie clips with three sides each and pivot them around the same point to form a cube. But if there's some solid instruction anyone could provide or a link, it would save me countless hours of guessing testing and revising.
    Thanks!

    Hi,
    Wire in '448' to the 'New Permissions' of the Access Rights VI. This will set the file as readable, writable and executable. I just tried this (on WinNT, though).
    The 'permissions' parameter is a 16-bit integer where the least 9 bits are used. Of these, for Windows, bits 8, 9, and 10 (0-indexed) are important (i.e. if these are set = integer 448). See online Help for full details.
    Hope this helps,
    Khalid

  • How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card

    Hi
    I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
    I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
    Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
    Request some help.
    Thanks in Advance
    Regards

    A finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E.  If you're just talking about generating a single retriggerable pulse, you would only need one counter.
    Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
    If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade.  Traditional NI DAQ is no longer in active development.  Here's an example of how to implement a retriggerable pulse generation in DAQmx.  You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
    Best Regards,
    John Passiak

  • Ecommerce site - how do I create several product pages using only one table of data?

    Hi
    Im designing an ecommerce clothing site for my assignment using an access database.
    When I create the Data Set it takes all the information from my Acess table "Products" , creating one huge list of products on a single web page.
    However, i would like to have the product data split across many web pages depending on there specific Category given [i.e. T-shirts, Jumpers, Trousers, Bags, Acessories].
    Does anybody know how to do this? I think it involves setting certain Parameters, or writing a SQL statement in Dataset.
    Thanks for any help
    Amy

    Hi Amy,
    Here's a series of articles I did for Adobe Developer's Center, included is an example of a shopping cart app you can use as a staring point or an example if you like.
    http://www.adobe.com/devnet/dreamweaver/articles/build_shopping_cart.html
    http://www.adobe.com/devnet/dreamweaver/articles/build_shopping_cart_pt2.html
    http://www.adobe.com/devnet/dreamweaver/articles/build_shopping_cart_pt3.html
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF

  • How to create user in UME when using ABAP as datasource

    hi, everyone
    We are using ABAP as EP user datasource, when create user in EP, it says "Current user has user creation permissions in the UME, but cannot create users in the back-end system (data source). The original and possibly untranslated message was: "No active writeable datasource found for user creation, check your Persistence Configuration."
    But we can not create in UME neither, anyone know how to do this?
    Lee

    Hi,
    Solution would be to disconnect the UME from ABAP and reboot the portal, create the user in UME, and revert back to the UME/ABAP connection again... but this is not supported:
    Changing Data Source
    Once you have chosen this data source configuration, you cannot change to any other data source configuration. For details, see SAP Note 718383.
    Source: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/af3ac012d32e78e10000000a155369/frameset.htm
    Ask the autorisation team of the ABAP stack that is connected to you UME to create the user for you is the only solution.
    Cheers,
    Benjamin

Maybe you are looking for

  • Media Manager does not work

    I have an 8700C.  I installed Blackberry Desktop Manager V4.6.0.12 and I have V4.2.1.96 (Platform 2.3.0.79) OS installed on my device.  When I go into the Media icon in Desktop Manager I have a split screen with Media Manager on the left and Blackber

  • Load software on multiple devices?

    Does my license allow me to load Elements on multiple devices?  If so, is there an iPad version?

  • Digital Media Yearbook With InDesign

    Hi all, I just stumbled upon this community and it looks like I will be frequenting it often to get answers to my questions and to hopefully answer questions myself. I'm not looking for tips on how to use InDesign, but rather in ways I can implement

  • When is the unlocked iPhone 5 likely to be available in the US??

    by when is the unlocked iPhone 5 likely to be available in the US??

  • Error in private methods when implementing a BAdI

    Hi, I implemented a BAdI and added some custom private methods in my implementing class. When I looked at the object list, my private methods are marked with a color red circular shape, which I guess it means those have error. But, when I tried to ac