Multicast in JMStudio??

Hi!
I want to send a video stream to a multicasta address.
I use JMStudio to transmit the stream. If I specify a unicast address everything works fine. But if I specify a multicast address (e.g. 192.168.100.0) the client does not receive anything.
Does anyone have a solution for this problem?
Deike

Hello Deike,
1) How are you able to multicast the data to thataddress as given in
your example. typiucally you can't use addr startingfrom 192.x.x.x
for multicast. I am wondering how you can say thatyou are
multicasting to this addr. I use an IP address which has 255 instead of the host
address.
For example in a class A network it would be
127.255.255.255,
class B 149.243.255.255 an in class C (in my case)
192.168.100.255.
So the packets are sent to each host in the network.
That really works.### I guess NOT. You may not be multicasting it but broadcasting the packets. Since yu don't have routers yet, you won't know the traffic. Check it out. Probably thats the reason why the client is able to receive the packets even though they have NOT yet subscribed to multicast group.
>
You can't have your client's either to subscribe tothis multicast
address. If you are trying to use anything in thatrange, then its
totally invalid.How does my client subscribe to a multicast address?
And why does he have to?### why does he have to ... hummm. Trickier to answer. I am thinking how,,,,,,, hummm hey c'mon thats how the things have to work I say ,,,
>
Refer to rfc1340 for the valid addresses. This rfcmight also address
your other issue: how to run RTP & the problem withport 4000 bla
bla..What is rfc1340??rfc docs are the docs, rather specs.. rfc1340 is defined by the Internet Assigned Numbers Assoc (IANA)You got to comply with it..
This is becoming more of n/wing issue rather than JMF,,, we r discussing irrelevant issue at an improper place. You might find some more info at diff place. Else lemme know..
>
2) You can give a quick try by multicasting toaddress 224.0.0.1. All
your clients should get the data provided you haveONLY one IP
router/ IP switch between them.
3) make sure your IP routers/ IP switches can handlethe multicasted
data & process them correctly. probably you may haveto configure
them to do so.I haven't used a router yet because my server is part
of the two networks in which I tested my applet.### try going thru router & see if the clients still receive the packets,,,
>
4) By the way what are you trying to multicast, isit MP3 audio ? Did
you solve your MP3 issue ?QuickTime Movie, only video, no audio.### by the way, I understand yor aplication is streaming video,,, am I right ? If so i think you can help me in another thng. Lemme know abt this.
dan ku,, bedanktu
-Chidu

Similar Messages

  • How to get JMStudio to work with non-multicast

    i can use JMStudio to capture from my webcam and stream video using suggested multicast address;
    i can use 2nd JMStudio on same or different machine to receive the multicast video transmitted from 1st JMStudio;
    i am unable to discover how to use JMStudio with a non multicast IP;
    i try to tell it to use the IP of my local machine and pick a port such as 8008;
    when the other JMStudio is started for receiving (assuming i started transmitting 1st) i tell it the same IP address and port as the 1st --
    and it returns an error;

    I imagine it's just an error dealing with port reuse... you're trying to do two different things on the same port, which isn't possible.
    Try it on two different machines.

  • Multicasting side effects........???

    Hello!
    I am new to networking and don't clearly know what multicasting is, but currently I am facing a grave problem which can be stated as:
    1- I am transmitting captured video at a muticast address "230.123.123.123" and port 3000 using say, AVTransmit2.
    2- I can receive the transferred stream at another system using this address in JMStudio, or any other custom made program.......
    3- But why can't I ping the real address of the transmitting system ( in my case 192.168.1.3 ). The instant I stop multicasting, I am able to ping.
    4- And also I can't ping any other system on the network from the transmitting system.
    5- You can estimate the problem when I have GlassFish server and another custom server running on the transmitting system. I can't connect to them !!!
    I would be grateful if any one explains the problem clearly. I think the problem is related to just Multicasting. Does Multicasting disables the actual IP address???
    What are the solutions for this problem? How can I run web server, other servers and still multicast from the same system?
    I would be grateful if any body turns up with any solution... *2 Dukes* for explaining the problem........*4 Dukes* for proposing a solution...... ;-)
    Thanks!
    P.S.: captfoss, are u busy nowadays??

    No. You may be transmitting at such a a rate as to flood the network.I can't say that I am transmitting at such a rate as to flood the network because everything works fine if the same stream is unicasted instead of being multicasted. (i.e. I am able to ping the transmitting system). I think following data would help (to determine whether I am flooding or not) :
    1- I was multicasting video as JPEG/RTP. Using the JPEG quality control, we can control the upload, the minimum is only *16-17 kBps* while maximum can be about *250-300 kBps* (which is really high), but no matter the upload rate is minimum or maximum, I was unable to ping. ( I usaully choose a medium quality for which upload rate is about *30 kBps)*.
    2- The transmitting system is connected to network using a WLAN card which supports *56 Mbps* ( i.e. 7 MBps).
    3- The receiving system is connected using ethernet / LAN card supporting *100Mbps* (i.e 12-13 MBps)
    4- I can't say much about the router but it is Modem/router provided by Broadband service provider (model Seimens SL2_141). It supports *2Mbps* (256 kBps) download and *512 kbps* ( 64 kBps) upload through internet. So, expectedly it should support much more upload/download on LAN.
    But your reply set me in the right direction, now when I am multicasting video in H263/RTP format in which uploading is only *4-5 kBps*, there is no problem, so you were correct in blaming the flooding of network.
    But some problems & questions are:_
    1- Why unicasting streams which upload about 50 KBps does not cause problems in pinging while if the same stream is multicasted , there is a problem , not even 50 kBps, even 17 kBps causes problems.......????
    2- I have determined the threshold of uploading during multicasting to be around 10 kBps which quite less than what my network supports (as I think)....*why such a small threshold???*
    Any answers to above questions........... all replies are welcome. I would appreciate any reply......
    Thanks!
    P.S.:BTW, I have posted same topic here [http://forums.sun.com/thread.jspa?threadID=5345685] , but have asked everyone to post in this thread...........

  • Can I use JMStudio to do conferencing ?

    Hi,
    I try for several days to use JMStudio to do conferencing, but it doesn't work.
    Understand me well :
    I want to transmit audio/video from computer1 to computer2 (with webcam1) and in the same time, to transmit audio/video from computer2 to computer1 (with webcam2).
    Has anybody tried to do this with JMStudio ?
    Thanks for your help,
    David

    computer one
    open JMStudio -> transmit ip computer2 port 2222
    open JMstudio - > receive 2 ip computer1 port 2224
    computer two
    open JMStudio -> transmit 2 computer 1 port 2222
    open JMstudio - > receive 1 computer 2 port 2224
    You can play with the ip numbers alittle.
    to be safe, to make sure it works, use multicast address.eg. xxx.xxx.xxx.255
    but make sure port of transmit matches port of receive.
    If your using XP, make sure firewalll rules are set.
    If your using Linux, make sure hostname matches computers IP.

  • Re: Getting RTP Stream UDP/MULTICAST

    I read again the initial post.
    You must configure the sender (camera) to transmit to a multicast ip, and the jmstudio to listen this same multicast ip.
    Or, you can configure the camera to send to the clientpc ip, but then jmstudio must listen the camera ip.

    Hi,
    thanks for your postings. I can (temporary) configure the network equipment only in the way, that the IP stream is send out of the network and the client pc (receiver) listens to its own IP Adress to get the streams. I've used ethereal already to see wether there are udp packages and they are....
    Thanks!
    Jan
    P.s.: Does JMF need a special plug in to display mpeg2 streams?

  • Disabling Multicast in Solaris 10

    Hi,
    I have been searching the internet all morning trying to figure out how to disable solaris 10 multicast. I have no need for it. The best information I could find was to modify the script /lib/svc/method/net-svc and comment out the adding of a route point for multicast near the end of the script.
    I thought that hand modifying the methods of SMF was a big no no in solaris 10. Is there a better way to disable multicast?
    For instance, if I do an ifconfig -a I see that all of my intefaces have the MULTICAST flag set. Is there a way in ifconfig to disable that flag?
    I have seen people put ifconfig options into their /etc/hostname.interface file. I think if I can find the correct ficonfig option I can disable the multicast flag during system boot and that should disable multicast.
    Any comments/suggestions would be welcome.
    Eric

    Now that I have done more research I guess I do not have to turn off the multicasting.
    This problem appeared because during snoop sessions I see MANY of the following messages:
    ? -> (multicast) ETHER Type = 022C ... 53 bytes
    I assumed that one of my machines was doing the multicast. However, I shut down all but one machine and then I removed the multicast route from the route table and the messages still appear. I think that either my cisco switch or cisco router is doing the multicast.
    So I guess I will not turn off the multicast on the machines.
    Does it make sense that the router and/or switch is sending out the multicasts?

  • JMStudio Error  "Can not create session manager"

    Hi,
    I'm trying to transmit an mpg file through a simple pc to pc network, using the transmission wizard in the JMStudio, and everytime it causes a "can not create session manager" error, even when I try to transmit .mp3 file
    I'm using an ip like 100.100.0.1 for the sender machine, and 100.100.0.2 for the receiver machine, and I don't know where is the problem
    thanks in advance

    Um,maybe the port that you use for transmission is already occupied.
    Make sure that you are not using JMStudio to transmit streams while trying to receive streams from the same port.

  • Unable to receive multicast on a multi network interface host

    Can anyone please help?
    I am not able to receive multicast on a multi network interface host.
    This is the code:
    public class LegacyMulticast {
    public static void main(String[] args) throws IOException {
    InetSocketAddress group = new InetSocketAddress("224.10.20.30", 12345);
    NetworkInterface iface = NetworkInterface.getByName("eth3");
    MulticastSocket socket = new MulticastSocket();
    socket.setSoTimeout(5000);
    socket.joinGroup(group , iface);
    byte[] b = new byte[4096];
    DatagramPacket datagram = new DatagramPacket(b, b.length);
    try {
    socket.receive(datagram);
    System.out.println("Success");
    catch (SocketTimeoutException ste) {
    System.out.println("Failure");
    socket.leaveGroup(group, iface);
    The funny thing is that when I start this code, Wireshark detects IGMP join on the correct network interface caused by joinGroup call, followed by constant UDP traffic on correct port which I aim to receive and finally I see correct IGMP leave caused by leaveGroup call and the UDP traffic stops.
    I just don't receive anything on socket.receive call.
    I am trying to figure this one out for days now. Pls help someone :)
    P.S. I suspected security, but System.getSecurityManager() call returns null.
    P.P.S. I also tried implementing this with NIO, but with same result.

    public class LegacyMulticast {
    public static void main(String[] args) throws IOException {
    InetSocketAddress group = new InetSocketAddress("224.10.20.30", 12345);
    NetworkInterface iface = NetworkInterface.getByName("eth3");
    MulticastSocket socket = new MulticastSocket(12345);
    socket.setSoTimeout(5000);
    socket.joinGroup(group , iface);
    byte[] b = new byte[4096];
    DatagramPacket datagram = new DatagramPacket(b, b.length);
    try {
    socket.receive(datagram);
    System.out.println("Success");
    catch (SocketTimeoutException ste) {
    System.out.println("Failure");
    socket.leaveGroup(group, iface);
    This is still not working.
    The multicast is coming from the network (not localhost), OS is Windows 7.
    When I start a multicast stream localy via VLC application on this same group and port, I receive the traffic in this Java application OK.
    Once again, Wireshark detects IGMP join and leave and multicast traffic flow on eth3 network interface initiated by the Java application, but it just doesn't see the UDP datagrams.

  • What is the diffrence between multicasting and broadcasting?

    hi friends
    What is the diffrence between multicasting and broadcasting?
    i'm bit confused in multicasting and broadcasting.

    Broadcasts go everywhere within a range determined by the sender.
    Broadcasting is deprecated and unliikely to go beyond the nearest router.
    Multicasts go everywhere where receivers have declared they are present.
    Multicast can be implemented beyond routers in a WAN which you control but ISP routers generally don't support it.

  • How to protect a PIM-SM network from unauthorized pim routers and multicast sources?

    Hi,
    we're using pim sparse mode in a customer network with catalyst 2/3/4/6K switches, all multicast routers are redundant with pim dr running for access subnets. RPs are configured with anycast rp.
    A) Is there any possiblity to prevent rogue pim routers/igmp queriers connected to host ports from getting connected to the legal pim routers and from getting involved in the local igmp traffic?
    Maybe like DHCP Snooping used with DHCP. I read that in the latest Sup2T ios (http://www.cisco.com/c/dam/en/us/td/docs/switches/lan/catalyst6500/ios/15-2SY/config_guide/sup2T/15_2_sy_swcg_2T.pdf) there is a feature called 'ipv4 router guard' which does exactly what we're looking for:
    'When configured, the Router Guard feature makes the specified port a host port only. The port is prevented from becoming a router port, even if a multicast router control packets are received. In addition, any control packets normally received from multicast routers, such as IGMP queries and PIM joins, will also be discarded by this filter.'
    Afaik, PIM authentication isn't supported in current catalyst ios versions.
    Using a normal port ACL is not an option in our case because of a management decision.
    B) Is there any possibility to prevent (on a per-subnet basis) rogue sources from sending multicast streams to legal multicast-groups?
    Maybe, can I configure a svi of a host subnet or a host port to drop any incoming multicast stream while still accepting IGMP and sending out legal multicast streams?
    Using 'ip pim accept-register' command on the rp is not an option because we've tons of legal sources which would end in an very huge error-prone acl
    Unfortunately, a normal ACL is not an option here, too.
    Best Regards
    Thorsten

    We use two pim routers in each host subnet for redundancy, they elect the PIM DR.
    Does pim passive mode work here?
    (Config Guide: If the ip pim passive command is configured on an interface enabled for IP multicast, the router will operate this interface in PIM passive mode, which means that the router will not send PIM messages on the interface nor will it accept PIM messages from other routers across this interface. The router will instead consider that it is the only PIM router on the network and thus act as the DR and also as the DF for all bidir-PIM group ranges. IGMP operations are unaffected by this command. ... The redundant PIM stub router topology is not supported. The redundant topology exists when there is more than one PIM router forwarding multicast traffic to a single access domain. PIM messages are blocked, and the PIM asset and designated router election mechanisms are not supported on the PIM passive interfaces.)
    ip pim neighbor-filter maybe would work to prevent rogue pim routers to connect to the legal pim routers but wouldn't rogue pim routers still be able to manipulate the layer2 switch to send all igmp traffic to them and not to the legal pim routers?

  • How to set up set which NIC card to use for multicast?..

              I just downloaded Rolling Patch 1 for WLS6.0SP2.
              While reading the README file it says
              " ISSUE 42518: Provided a way to set which NIC card to use for multicast traffic
              Can anyone tell me how to set this?. on my WebApplication server it has two NIC
              cards and I want to use the NICcard which is being used to talk to internal network
              for multicast messages.
              One more thing,
              Can anyone one tell how to search for bugs (ISSUES) in weblogic. I am looking
              place where I enter ISSUE number and should get the detailed description of bug/issue
              etc..
              Thanks for helping,
              Nilesh
              

              Thanks Kumar, I'll try this.
              Does this -Dweblogic.interfaceAddress used only for multicast. Or this is also
              used to talk to AdminServer?.
              The other problem I am facing is when I restart the AdminServer in recovery mode
              it's not finding my WebApp servers, because my webapp servers are on public network
              and my admin (management) server is on private network.
              please look at http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.management&item=1217&utag=
              , for more details about my problem.
              Thanks,
              Nilesh
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >You should be able to do it via console in 6.1
              ><br>Not sure if it was added in 6.0
              ><p>For 6.0 you can set this via command line
              ><br>java -Dweblogic.interfaceAddress=<addr>
              ><p>You need 6.0 SP2 RP1
              ><p>--
              ><br>Kumar
              ><p>Nilesh Shah wrote:
              ><blockquote TYPE=CITE>I just downloaded Rolling Patch 1 for WLS6.0SP2.
              ><br>While reading the README file it says
              ><br>" ISSUE 42518: Provided a way to set which NIC card to use for multicast
              >traffic
              ><br>"..
              ><p>Can anyone tell me how to set this?. on my WebApplication server it
              >has two NIC
              ><br>cards and I want to use the NICcard which is being used to talk to
              >internal network
              ><br>for multicast messages.
              ><p>One more thing,
              ><p>Can anyone one tell how to search for bugs (ISSUES) in weblogic. I
              >am
              >looking
              ><br>place where I enter ISSUE number and should get the detailed description
              >of bug/issue
              ><br>etc..
              ><p>Thanks for helping,
              ><p>Nilesh</blockquote>
              ></html>
              >
              

  • Need help to deploy IP Multicast in private network

    Hi,
    I am currently working on a project where there is an urgent requirement to deliver an IP multicast solution.
    The network itself is fairly simple.
    IP Cameras as connected to pairs of Catalyst 2960 switches in 'access nodes'. There are 8 cameras per node, 4 on each switch. There are multiple nodes, 3 at the moment in our testing environment, all trunked together, so 24 cameras in total.
    The Catalyst 2960 switches are trunking to a Core node, which consists of a pair of Catalyst 3750 switches with MHSRP configured for each of 8 VLANs, with 2 DCs and 2 Video storage servers for storing camera footage attached to access ports on those switches. We also have workstations attached to the core node switches which have software installed to view live images and manage the cameras across the network.
    We have no routing - the access switches have default gateways pointing to the VLANs SVIs configured on the core switch, and each function has its on VLAN. InterVLAN routing is enabled on the 3750s and connectivity is working fine.
    I wish to send a TCP stream to the Video Storage servers for storage, and to multicast to the workstations so that the software can see multiple streams from multiple cameras.
    Could someone please suggest a suitable deployment strategy, including how to configure the cameras and switches appropriately to allow this to happen? I am struggling to understand what type of configuration is required.
    Much appreciated. I'm actively viewing this thread for assistance.

    Paul
    I don't think IP Base supports any PIM mode other than PIM stub routing (unless you know otherwise) so your solution wouldn't work. Or perhaps i am not understanding ?
    Martin
    I think the only way forward is to test what we have already covered.
    I didn't realise this was a test environment so at least you can try all things out without worrying about the production network.
    The thread i linked to suggested that you can get the routing working even without a L3 device capable of running full multicast routing but at the moment the question concerns those extra commands you can't enter. Can you verify they are not available in config mode ?
    An additional problem is because PIM is passive on the SVIs no IGMP queries are being made so there is no way for the switches to work out which ports needs the multicast stream and so it will be flooded.
    There is a function, supported on the 3750s called the IGMP querier function which allows the switch to make IGMP queries per vlan without PIM enabled. We may be able to use this but i have absolutely no idea how it will work with the L3 multicast routing config.
    I recommend you try and get multicast routing working first. If you can get to the stgae where you can send a multicast stream from one vlan to another then you should be able to use wireshark to then see each port in the destination vlan receiving the stream (even when you don't want it to).
    If you can get to that stage we can then try the IGMP snooping querier to see if we can restrict the stream to only those ports that need to receive it. It may be we can't in which case -
    a) you could statically configure the multicast mac address to the relevant ports but this is no scalable and does not allow clients to dynamically join and leave the multicast group
    or
    b) simply allow the stream to be flooded to all ports within the destination vlan. Not ideal and kind of defeats the purpose of multicast but you may have no choice.
    I doubt whether any of this would be supported by Cisco though as i think their position would be to simply upgrade to an IP Services license although in understand this may not be possible for you because of cost.
    Jon

  • Chat room using multicast socket

    hi-
    i have a chat room based on multicast socket with a SWING GUI interface. i want group members to be able to establish a shared secret(bases on extended n-party diffie-hellman algorithm) to encrypt all messages exchanged . Re-keying happens upon member join and leave. In order to do key agreement i need to identify the number of subscribers in the multicast chat room all time. i am having trouble setting up a centralized counter to keep track of distributed users 'cause each time a user joins the chat he or she invokes a different copy of the chat program(command line usage: java chatroom <user name>). please help me setting up a counter to count the subscriber and identify joins and leaves.... my main questin is where within the program to set up a counter variable like this to keep track of distributed users? please help...thanks!

    thanks for your reply... ummm yeah securing a chat room based on multicast poses many problems mainly because of the lack of a chat server. i really haven't gotten any of them sorted out. well the only reason to use encryption is to provide perfect forward secrecy and backward secrecy, meaning a user who just joined the chat room can't decipher any previous session of conversation prior to his join and a user who just left the chat room can't use the group session key he had to decrypt any future conversation. Access control and authorization is ignored. User can join the chat room without permission of the existing members.
    yes a flat hierarchy is assumed(all group members are treated equally....no fixed member is given privilege to generate and distribute keys). However, for the key agreement protocol to take place the last joined member is chosen as a group leader and is responsible of re-keying his share in the previous group session key. The newly joined member adds his share and everybody computes the new group session key based on Diffie-Hellman. This group leader role floats...
    you are right... without being able to detect joins/leaves and the correct order of those joins and leaves, none of these can be realized.
    Can i chain a separate server just to keep track of membership changes?

  • Airport Extreme multicast rate and closed network

    New to Airport Extreme.
    Is the multicast rate the same as the TX rate on other routers? I chose 11Mbps during the setup and my Macbook was very slow. I moved it back to 2 Mbps and it sped up. Distance from macbook to airport approx. 24 inches.
    Other question/ statement. I assume that the closed network portion of the setup is the same as turning off the SSID of other routers. Do I assume correctly?

    goldengti, Welcome to the discussion area!
    Is the multicast rate the same as the TX rate on other routers?
    Sorry I don't know about other routers. The multicast rate defines the minimum data rate the base station will use and maintain the wireless connection. If you set it to 11 Mbps, the wireless connection will be broken if that data rate can't be maintained.
    Other question/ statement. I assume that the closed network portion of the setup is the same as turning off the SSID of other routers. Do I assume correctly?
    Yes the same useless option. Regardless of how you set this option on any router, the SSID is still broadcast between any connected clients and the base station. Therefore it only takes a few seconds to discover the SSID.

  • A follow-up Multicasting question (brh0001?)

    But does the fact that I can't use my LocalHost to multicast internaly, mean that I must be connected to the web throughout the simulation??
    (Otherwise I got "Network unreachable".)
    Mustn't there be some alternative?
    Thanx.

    Yep, I am trying to run the whole process on the same machine.
    In fact it's the first project I run on LINUX and I haven't got the right modem for net connection from there...
    Thanx-a -lot, anyway.

Maybe you are looking for

  • Counting records in Visual Composer

    Hi folks, I do have question I cannot find a solution ( maybe due to christmas turkey paralysis ) I am using VC to call a RFC function in ERP system 'RFC_READ_TABLE' to access data from table. The table I access is a customer table containing Delta-

  • Help!! bent or warped macbook pro unibody

    my macbook pro dropped from my hand yesterday and now its warped and  opened on the right cornor side where harddisk is. My macbook pro is out of warrenty. What are my options?  and there doesnt seem to any hardware damages just cosmetic.

  • Pdp in customer master

    Hi, I'm trying to assign different partner for sold to party,ship to party,bill to party and payer in customer master. please help me out. regards

  • Why can't I import video

    My video file is .avi I can play it with quick time but when dragging it into itunes, it came flied back to where it was.

  • SSM 10 - Error opening PAS Administrator

    Hi experts, I'm currently trying to configure a machine with SSM 10, but after I install the Application Server and the Supporting files, when I try to open the PAS Administrator using the "admin" user I get the following error: [http://desmond.image