Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

in client.js function onSignalingMessage(notification, data) without tracks #551

Open
@sword007

Description

@sword007

in client.js

if (notification === 'stream') {
if (data.status === 'add') {
fireStreamAdded(data.data);
}
somtimes data.data without tracks eg.
{"id":"43b1bd13dfb44c74a5bc652ec5b79502","type":"forward","media":{"audio":{"status":"active","source":"mic","format":{"channelNum":2,"sampleRate":48000,"codec":"opus"},"optional":{"format":[{"sampleRate":16000,"codec":"isac"},{"sampleRate":32000,"codec":"isac"},{"channelNum":1,"sampleRate":16000,"codec":"g722"},{"codec":"pcma"},{"codec":"pcmu"},{"channelNum":2,"sampleRate":48000,"codec":"aac"},{"codec":"ac3"},{"codec":"nellymoser"},{"codec":"ilbc"}]}},"video":{"status":"active","source":"camera","original":[{"format":{"codec":"vp9"}}],"optional":{"format":[{"codec":"vp8"},{"profile":"CB","codec":"h264"},{"profile":"B","codec":"h264"}],"parameters":{"resolution":[{"width":480,"height":360},{"width":426,"height":320},{"width":320,"height":240},{"width":212,"height":160},{"width":160,"height":120},{"width":352,"height":288}],"bitrate":["x0.8","x0.6","x0.4","x0.2"],"framerate":[6,12,15,24],"keyFrameInterval":[100,30,5,2,1]}}}},"info":{"owner":"oY11_14ORZAScJWFAAAR","type":"webrtc","inViews":[]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions