onVideoFramePlayStateChanged method

FutureOr<void> onVideoFramePlayStateChanged(
  1. String streamId,
  2. StreamInfo streamInfo,
  3. RtcUser user,
  4. FirstFramePlayState state,
)

@detail callback @author wangfujun @brief Triggered when the remote video stream first frame play state changes. @param streamId Stream ID. @param streamInfo Stream information. See StreamInfo{@link #StreamInfo}. @param user User information. See RtcUser{@link #RtcUser}. @param state The first frame play state. See FirstFramePlayState{@link #FirstFramePlayState} for specific indications.

Implementation

FutureOr<void> onVideoFramePlayStateChanged(String streamId,
    StreamInfo streamInfo, RtcUser user, FirstFramePlayState state) async {}