Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    658
    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:
    267
    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:
    470
    You can check my new asset, it allows you to record webgl gameplay on any browser!
     
    Blarp likes this.