Skip to content

Using emulator view: webrtc from State:connect to State: disconnected #300

@crazier

Description

@crazier

I have deployed this project as the instruction and config the turn server.
and when I open the web rtc page, It can connect the emulator using the webrtc method, But it change the status to disconnected quickly about 30 seconds.
image
image

and find the "TURN create permission timeout 576841304c72326878556d4b" error

022-03-19T16:33:43.187534954Z video: (video_source_sink_controller.cc:83): Pushing SourceSink restrictions: max_fps=60 max_pixel_count=2147483647 target_pixel_count=null resolutions={1080x1920}
2022-03-19T16:33:43.187753798Z video: (GrpcVideoSource.cpp:244): OnSinkWantsChanged desired pixels: 0, max: 2147483647, fps: 60, align: 1
2022-03-19T16:33:43.187882341Z video: (network.cc:929): Connect failed with 99
2022-03-19T16:33:44.190939974Z video: (bitrate_prober.cc:114): Probe cluster (bitrate:min bytes:min packets): (5000000:9375:5)
2022-03-19T16:33:45.188282074Z video: (probe_bitrate_estimator.cc:159): Probing successful [cluster id: 11] [send: 7046 bytes / 12 ms = 4697333 bps ] [receive: 7698 bytes / 26 ms = 2368615 bps]
2022-03-19T16:33:45.188325963Z video: (probe_bitrate_estimator.cc:159): Probing successful [cluster id: 11] [send: 7974 bytes / 12 ms = 5316 kbps ] [receive: 8626 bytes / 26 ms = 2654153 bps]
2022-03-19T16:33:45.188333302Z video: (probe_bitrate_estimator.cc:159): Probing successful [cluster id: 11] [send: 8902 bytes / 20 ms = 3560800 bps ] [receive: 9554 bytes / 27 ms = 2830814 bps]
2022-03-19T16:33:45.188365545Z video: (probe_bitrate_estimator.cc:159): Probing successful [cluster id: 11] [send: 9830 bytes / 20 ms = 3932 kbps ] [receive: 10482 bytes / 27 ms = 3105777 bps]
2022-03-19T16:33:45.188370227Z video: (network.cc:929): Connect failed with 99
2022-03-19T16:33:47.194496506Z video: (bitrate_allocator.cc:394): Current BWE 2950488
2022-03-19T16:33:47.194567323Z video: (network.cc:929): Connect failed with 99
2022-03-19T16:33:48.190223708Z video: (turn_port.cc:1690): Port[9d02800:0:1:0:relay:Net[eth0:172.18.0.x/16:Ethernet:id=1]]: TURN create permission timeout 576841304c72326878556d4b

this is the entire log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions