Skip to content

1.0.10

Choose a tag to compare

@WengYuehTing WengYuehTing released this 23 Sep 01:13
· 52 commits to main since this release

What's New

  • Control local video playback with pause and resume, including tap-to-toggle playback in XLab.
  • Freeze the generated view with a native RTC snapshot while local video playback is paused.
  • Play local videos once or loop them. XLab uses looping playback by default.
  • Log incoming RTC room signals for troubleshooting.
  • Determine camera output dimensions from the display orientation rather than display width and height.

API Changes

  • Added pauseLocalVideoStream(), resumeLocalVideoStream(), and toggleLocalVideoStreamPlayback().
  • Added localVideoPlaybackState and setLocalVideoPlaybackStateListener() with PLAYING, PAUSE, and ENDED states.
  • Added an optional third loop argument to createLocalVideoStream(filePath, videoFormat?, loop?), defaulting to true.
  • With loop: false, natural completion stops local audio/video frame submission and reports ENDED. In-flight remote results can continue to render; the SDK does not automatically stop the generation task or disconnect the session.
  • ENDED describes local playback completion, not completion of cloud processing. Replaying an ended video requires stopping and recreating the local stream after disconnecting if necessary.