Audio Broadcasting with Raspberry PI and Android Things

I am currently running android things on my raspberry pi. I have created a simple audio broadcasting app using the sample in the documentation. When using my emulator to test the app, I am able to successfully created a broadcast stream and listen it on the server. However, when I attempt to run the app on the raspberry, I get a connection_timeout error.

A broadcast component reported the following error during the PREPARE_FOR_BROADCAST transition

    severity                  : ERROR
    error class               : WOWZStreamingError
    error code                : 49
    description               : A timeout occurred while attempting to connect    

Is there something specific about the raspberry pi’s hardware that is causing the connection failure?

I also receive the following error at times as well:

03-31 19:12:44.473 2966-3049/com.checkvinyl E/b: A broadcast component reported the following error during the PREPARE_FOR_BROADCAST transition
    severity                  : ERROR
    error class               : WOWZStreamingError
    error code                : 60
    description               : The connection attempt was refused by the remote destination or the destination could not be reached

Hello @Kyle Pearson

Please make sure that you have TCP port 1935 open on the Raspberry PI, and it can reach the external network your Wowza Streaming Engine (Cloud) server.

Regards,

JasonT