Skip to content

sessionDescriptionHandler.remoteMediaStream.getVideoTracks() not fully populated #960

@InnovateAsterisk

Description

@InnovateAsterisk

Describe the enhancement request
session.sessionDescriptionHandler.remoteMediaStream is not populated with all the video streams. When a session is re-invited with more than one video stream, only the last video stream is active, and only the last video stream is added to session.sessionDescriptionHandler.remoteMediaStream as a track.

Logs
image

To Reproduce (if possible)

  1. Re-invte the session with more then one video stream, and attach a handler for addtrack to the PeerConnection.
  2. console.log(session.sessionDescriptionHandler.remoteMediaStream.getVideoTracks());

Expected behavior
session.sessionDescriptionHandler.remoteMediaStream.getVideoTracks() should be populated with all the video tacks in that session.

Observed behavior
Only the last video track in the SDP is included in the array. Others are stopped.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions