Opus streaming port

  • 1
  • Question
  • Updated 10 months ago
  • Answered
The time has come for me to continue my quest to understand the Ethernet API by working on the Opus audio stream. First I need to get said stream.

When I sub audio_stream all I get something like
S4F4C7C66|opus_stream 0x4A000000 ip=192.168.0.5 port=4991 opus_rx_stream_stopped=0 rx_on=0 tx_on=0

The IP and port numbers are those of Smart SDR, which is running alongside my controller and is the GUI client. My controller sets client udpport 4995 before issuing the sub audio_stream all so I am perplexed that the Opus stream seems to be going to 4991.

Does Opus only stream to the GUI client's UDP port, regardless of client udpport? Is there a way to redirect it?
Photo of John G3WGV

John G3WGV

  • 174 Posts
  • 33 Reply Likes

Posted 10 months ago

  • 1
Photo of Ed.G

Ed.G, Software Engineer

  • 86 Posts
  • 20 Reply Likes
Today, the radio can only support one Opus stream that is only sent to the GUI client.

The client udpport 4995 you issue only tells the radio that for UDP streams that are going to your client it should send them to port 4995. That does not affect the opus stream. 
Photo of John G3WGV

John G3WGV

  • 174 Posts
  • 33 Reply Likes
Thanks Ed, that confirms what I was thinking. I'm guessing the same applies to the pan adapter/waterfall streams? I'm not really planning on writing my own GUI so it looks like the quest for learning how to process those streams is over for now!