Skip to content

firefox video player problem #925

@demirveriyaz

Description

@demirveriyaz

we are testing pion sfu-ws example.

chrome -> chrome = works well
chrome -> firefox = not working
firefox -> chrome = works well
firefox -> firefox = not working

when subscirber is on firefox ontrack event firing and stream receiving successfully but when bind this stream html5 video player srcObject, video not playing

we research on google but nothing we tried was successful


this.peerConnection.ontrack = function (event) {
var player = $("#videoplayer")[0];
player.srcObject = event.streams[0];
player.autoplay = true;
player.controls = true;
}


local description:

v=0

o=mozilla...THIS_IS_SDPARTA-71.0 6064412144079911900 0 IN IP4 0.0.0.0

s=-

t=0 0

a=sendrecv

a=fingerprint:sha-256 AC:45:07:E2:B9:21:31:30:54:00:B9:20:40:33:29:81:BF:3D:66:06:F0:8F:61:1E:88:7C:84:53:26:F5:94:2F

a=group:BUNDLE 0

a=ice-options:trickle

a=msid-semantic:WMS *

m=video 48011 UDP/TLS/RTP/SAVPF 120 121 126 97

c=IN IP4 192.168.1.61

a=candidate:0 1 UDP 2122252543 192.168.1.201 60878 typ host

a=candidate:4 1 TCP 2105524479 192.168.1.201 9 typ host tcptype active

a=candidate:0 2 UDP 2122252542 192.168.1.201 60879 typ host

a=candidate:4 2 TCP 2105524478 192.168.1.201 9 typ host tcptype active

a=candidate:1 1 UDP 1686052863 78.40.226.197 62994 typ srflx raddr 192.168.1.201 rport 60878

a=candidate:1 2 UDP 1686052862 78.40.226.197 62997 typ srflx raddr 192.168.1.201 rport 60879

a=candidate:3 1 UDP 92217087 192.168.1.61 48011 typ relay raddr 192.168.1.61 rport 48011

a=candidate:3 2 UDP 92217086 192.168.1.61 27364 typ relay raddr 192.168.1.61 rport 27364

a=recvonly

a=end-of-candidates

a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid

a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

a=extmap:5 urn:ietf:params:rtp-hdrext:toffset

a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay

a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1

a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1

a=fmtp:120 max-fs=12288;max-fr=60

a=fmtp:121 max-fs=12288;max-fr=60

a=ice-pwd:139edb2955e43accb16c5c552924ac68

a=ice-ufrag:2eb4c719

a=mid:0

a=rtcp:27364 IN IP4 192.168.1.61

a=rtcp-fb:120 nack

a=rtcp-fb:120 nack pli

a=rtcp-fb:120 ccm fir

a=rtcp-fb:120 goog-remb

a=rtcp-fb:121 nack

a=rtcp-fb:121 nack pli

a=rtcp-fb:121 ccm fir

a=rtcp-fb:121 goog-remb

a=rtcp-fb:126 nack

a=rtcp-fb:126 nack pli

a=rtcp-fb:126 ccm fir

a=rtcp-fb:126 goog-remb

a=rtcp-fb:97 nack

a=rtcp-fb:97 nack pli

a=rtcp-fb:97 ccm fir

a=rtcp-fb:97 goog-remb

a=rtcp-mux

a=rtpmap:120 VP8/90000

a=rtpmap:121 VP9/90000

a=rtpmap:126 H264/90000

a=rtpmap:97 H264/90000

a=setup:actpass

a=ssrc:1848870725 cname:{fd43f735-5a8e-4807-8ba3-db9c981514ff}


remote description:

v=0

o=- 41669618 1575535433 IN IP4 0.0.0.0

s=-

t=0 0

a=fingerprint:sha-256 21:9F:05:EE:FA:72:9E:D2:D5:16:46:A4:33:79:81:A9:3D:3E:C9:36:F0:AB:F1:1F:4C:3A:5E:A9:FA:20:A6:02

a=group:BUNDLE 0

m=video 9 UDP/TLS/RTP/SAVPF 96

c=IN IP4 0.0.0.0

a=setup:passive

a=mid:0

a=ice-ufrag:KvRiTNiAuhGEtGfr

a=ice-pwd:FgNjacpyobjxhfIXAyDVirIqrChDWitH

a=rtcp-mux

a=rtcp-rsize

a=rtpmap:96 VP8/90000

a=ssrc:899444349 cname:pion

a=ssrc:899444349 msid:pion video

a=ssrc:899444349 mslabel:pion

a=ssrc:899444349 label:video

a=sendonly

a=candidate:foundation 1 udp 2130706431 93.187.206.39 56707 typ host generation 0

a=candidate:foundation 2 udp 2130706431 93.187.206.39 56707 typ host generation 0

a=candidate:foundation 1 udp 2130706431 192.168.1.61 35784 typ host generation 0

a=candidate:foundation 2 udp 2130706431 192.168.1.61 35784 typ host generation 0

a=candidate:foundation 1 udp 1694498815 93.187.206.39 21303 typ srflx raddr 0.0.0.0 rport 21303 generation 0

a=candidate:foundation 2 udp 1694498815 93.187.206.39 21303 typ srflx raddr 0.0.0.0 rport 21303 generation 0

a=candidate:foundation 1 udp 16777215 192.168.1.61 21817 typ relay raddr 0.0.0.0 rport 11963 generation 0

a=candidate:foundation 2 udp 16777215 192.168.1.61 21817 typ relay raddr 0.0.0.0 rport 11963 generation 0

a=end-of-candidates

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