Skip to content

WebRTC doesn't work on raspberry pi4B. #518

Closed

Description

@bakusui

https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html
Windows PC master -> rapsberry pi viewer.
result confirmed by.

https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/app.js:34:27: CONSOLE LOG [VIEWER] Stopping viewer connection
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/app.js:34:27: CONSOLE LOG [VIEWER] Channel ARN: ******** ****************(edited)
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/app.js:34:27: CONSOLE LOG [VIEWER] Endpoints: [object Object]
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/app.js:34:27: CONSOLE LOG [VIEWER] ICE servers: [object Object],[object Object ],[object Object]
https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/app.js:22:29: CONSOLE ERROR ReferenceError: Can't find variable: RTCPeerConnection

https://github.com/Igalia/meta-webkit/wiki/RPi
Built with reference to.
WPE ver : 2.36+git%, 2.38.2+git%
Add the following to local.conf.
PACKAGECONFIG: append_pn-wpewebkit = " mediasource video webrtc mediastream "
PREFERRED_VERSION_wpewebkit = "2.36.0+git%"

I was able to connect with the i.MX8M mini(WPE ver:2.36+git%).

Activity

  1. changed the title [-]WebRTC doesn't work on raspberry pi.[/-] [+]WebRTC doesn't work on raspberry pi4B.[/+] on Dec 5, 2022
  2. philn commented on Dec 5, 2022

    @philn
    Member

    You need to enable it at runtime too, there's a webrtc websetting and also one for mediastream.
    Regarding the current status(-quo), see https://wpewebkit.org/about/faq.html#what’s-the-status-regarding-webrtc?

  3. bakusui commented on Dec 6, 2022

    @bakusui
    Author

    What should I do specifically?
    Now I am doing:

    export QT_QPA_PLATFORM=wayland
    export XDG_RUNTIME_DIR=/run/user/0
    COG_PLATFORM_FDO_VIEW_FULLSCREEN=1 cog -P wl --ignore-tls-errors --set-permissions all --enable-write-console-messages-to-stdout true --allow-file-access-from-file-urls true --allow-universal-access-from-file-urls true --allow-top-navigation-to-data-urls true https://awslabs.github.io/amazon-kinesis-video-streams-webrtc-sdk-js/examples/index.html

  4. philn commented on Dec 6, 2022

    @philn
    Member

    If you check the --websettings-help output you should see at least a mediastream option listed... Enable with --enable-mediastream=1.

  5. locked and limited conversation to collaborators on Dec 6, 2022
  6. converted this issue into a discussion #520 on Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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