Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Record Game Play and download in WEBGL with UNITY web rtc

Discussion in 'Unity Render Streaming' started by vijayxd, Jan 20, 2020.

  1. vijayxd

    vijayxd

    Joined:
    Aug 7, 2017
    Posts:
    10
    unity render streaming (unity web rtc) package streams video to webserver.

    with this feature how can i record streaming video and download on same page??
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    In WebRTC technology, video streaming is not via the webserver. Two peers connect directly.
    Web server is used for exchanging SDPs of each peer.

    The recording feature is not supported by Unity Render Streaming but recently WebRTC supports "MediaStream Recording", it may helpful for you.
    https://webrtc.github.io/samples/src/content/getusermedia/record/
     
  3. Blarp

    Blarp

    Joined:
    May 13, 2014
    Posts:
    269
    I want to record a video of the camera through webgl and than have the game email it.

    been lookin at this for "recording" but then save instead of stream is an issue.

    Would be nice to record and share at runtime on desktop, mobile, and web.

    https://antmedia.io/webrtc-streaming-in-unity/
     
  4. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    522
    You can check my new asset, it allows you to record webgl gameplay on any browser!
     
    Blarp likes this.