roc-java icon indicating copy to clipboard operation
roc-java copied to clipboard

Whether to support multicast

Open chenqinggang001 opened this issue 1 year ago • 3 comments

Is it okay to do that? Sender : new Endpoint("rtp+rs8m://239.244.0.100:10001"); Receiver : new Endpoint("rtp+rs8m://239.244.0.100:10001");

chenqinggang001 avatar Feb 22 '24 09:02 chenqinggang001

Hi,

Yes, multicast is supported.

Operating system usually requires you to join to multicast group to be able to receive multicast traffic.

You can call RocReceiver.setMulticastGroup() to tell roc to join multicast group automatically. You'll need to provide IP address of the network interface on which you need to receive multicast traffic. You can set it to "0.0.0.0" to receive from all interfaces.

See also here: https://roc-streaming.org/toolkit/docs/manuals/roc_recv.html

gavv avatar Feb 23 '24 09:02 gavv

Thank you ! I still want to ask another question,Is it possible to support video transmission? Is the workload heavy? (I looked at the roadmap and there are plans to support video in the future)

chenqinggang001 avatar Feb 23 '24 09:02 chenqinggang001

Video is not supported yet, but yes, it's planned, and we're slowly preparing internals to that. What do you mean by heavy workload?

gavv avatar Feb 23 '24 10:02 gavv

Feel free to reopen if needed.

gavv avatar Jun 17 '24 18:06 gavv