Skip to navigation

MediaParamsEvent

View as MarkdownOpen in Claude

Event emitted when the server pushes media params.

The event is emitted whether or not the constraints were applied — read applied to tell the two apart. A push naming a leg this call does not hold emits nothing at all, because the event carries no leg identity to report it against.

Properties

applied
booleanRequired

false when the constraints did not reach every sender of a pushed kind: the sender carries media the SDK did not capture, the browser refused the constraints and re-acquisition failed, or the leg sends no media of that kind at all.

audio
MediaTrackConstraints

Audio constraints pushed by the server, if any. See MediaTrackConstraints.

timestamp
numberRequired

Timestamp when the event occurred (epoch ms).

video
MediaTrackConstraints

Video constraints pushed by the server, if any. See MediaTrackConstraints.