Skip to content

What would be the likely issue for unable to stream on the USB Ethernet (OTG) #117

Open
@jasonmnemonic

Description

@jasonmnemonic

Hi.

Thank you for the great work! ;-) It is interesting to see how WebRTC work. I have downloaded the 0.74.1 deb package and installed on my Pi Zero. Two questions.

  1. My Pi Zero is configured as both WiFi and USB Ethernet. For some reason, I can only stream on the WiFi e.g. open Chrome and go to 192.168.150.33:8887/np2 and note the port is 8887 because I have changed it in the config file.

On WiFi, it works but when I disabled the WiFi so that I can be sure the stream will go on the local USB ethernet, nothing works. E.g. my Pi has USB IP address of 192.168.200.1 and I can ping and SSH into it and all is good. However, I see both cases:

1.1) On Chrome, if I use http://192.168.200.1:8887/np2 then the browser only gives a white page with a line of text showing PeerConnection Page - RWS and nothing else.

1.2) If I use http://my-raspberry-pi:8887/np2 which hostname has the same IP address I can see the normal PeerConnection Page - RWS with the usual preview and two buttons, Connect and Disconnect. When I clicked on Connect, I get the quick few seconds pop up; Error during connect wss://my-raspberry-pi:8887/rws/ws but no picture.

In my head, this should be no different to WiFi since I have now disabled WiFi and it should work. Do you have any idea? I cannot see any logs in /opt/rws/log because they are empty and I do not know where to start looking.

  1. Also is there any way to configure the stream so that I can annotate the text to show bitrate, fps and resolution? Is there a way to confirm the resolution, fps and bitrate so I can double check that I think the output that I see is correct.

Thank you! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions