Comments (4)
Are you running this with Wowza Streaming Cloud or Wowza Streaming Engine? Any errors in the console?
from webrtc-examples.
I use Wowza Streaming Engine4.8.0, the console log below. maybe the sdp data sent to server can't be parsed correctly
`
wsURL: wss://103.115.77.129/webrtc-session.json
webrtc-play.js:88 sendPlayGetOffer: {"applicationName":"webrtc","streamName":"2bc4f09b-27ac-4f29-a79e-0e541d5356e4_1","sessionId":"[empty]"}
webrtc-play.js:100 wsConnectionPlay.onmessage: {"status":200,"statusDescription":"OK","direction":"play","command":"getOffer","streamInfo":{"applicationName":"webrtc/definst","streamName":"2bc4f09b-27ac-4f29-a79e-0e541d5356e4_1","sessionId":"109174268"},"sdp":{"type":"offer","sdp":"v=0\r\no=WowzaStreamingEngine-next 1796723697 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 77:5A:F4:B7:BA:49:F0:1D:F6:43:B2:3B:8F:83:DA:E2:E6:87:52:98:BF:FD:CE:4A:A0:A1:88:AA:09:E8:2D:57\r\na=group:BUNDLE video audio\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=video 9 RTP/SAVPF 97\r\na=rtpmap:97 H264/90000\r\na=fmtp:97 packetization-mode=1;profile-level-id=64C01E;sprop-parameter-sets=J2QAHqwTFsCgPbAQwMABdwAAXcF73wfCIRuA,KO4fLA==\r\na=cliprect:0,0,480,640\r\na=framesize:97 640-480\r\na=control:trackID=2\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:bfb8608d09b69cacb530f624d817e651\r\na=ice-ufrag:6e107994\r\na=mid:video\r\na=msid:{ff87a908-bfc3-49d9-871e-f32e2524f260} {d30e8bda-03f8-46f1-b591-cf195fd53996}\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:932399114 cname:{de0af7d4-45b2-406c-bc63-b1f0d50f4aa4}\r\nm=audio 9 RTP/SAVPF 96\r\na=rtpmap:96 OPUS/48000/2\r\na=control:trackID=1\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:bfb8608d09b69cacb530f624d817e651\r\na=ice-ufrag:6e107994\r\na=mid:audio\r\na=msid:{ff87a908-bfc3-49d9-871e-f32e2524f260} {c2fd0c05-dcc0-44ff-b606-96b014ec3058}\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:351988598 cname:{de0af7d4-45b2-406c-bc63-b1f0d50f4aa4}\r\n"}}
webrtc-play.js:107 =====> msgStatus = 200
webrtc-play.js:139 sdp: {"type":"offer","sdp":"v=0\r\no=WowzaStreamingEngine-next 1796723697 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 77:5A:F4:B7:BA:49:F0:1D:F6:43:B2:3B:8F:83:DA:E2:E6:87:52:98:BF:FD:CE:4A:A0:A1:88:AA:09:E8:2D:57\r\na=group:BUNDLE video audio\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=video 9 RTP/SAVPF 97\r\na=rtpmap:97 H264/90000\r\na=fmtp:97 packetization-mode=1;profile-level-id=64C01E;sprop-parameter-sets=J2QAHqwTFsCgPbAQwMABdwAAXcF73wfCIRuA,KO4fLA==\r\na=cliprect:0,0,480,640\r\na=framesize:97 640-480\r\na=control:trackID=2\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:bfb8608d09b69cacb530f624d817e651\r\na=ice-ufrag:6e107994\r\na=mid:video\r\na=msid:{ff87a908-bfc3-49d9-871e-f32e2524f260} {d30e8bda-03f8-46f1-b591-cf195fd53996}\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:932399114 cname:{de0af7d4-45b2-406c-bc63-b1f0d50f4aa4}\r\nm=audio 9 RTP/SAVPF 96\r\na=rtpmap:96 OPUS/48000/2\r\na=control:trackID=1\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=ice-pwd:bfb8608d09b69cacb530f624d817e651\r\na=ice-ufrag:6e107994\r\na=mid:audio\r\na=msid:{ff87a908-bfc3-49d9-871e-f32e2524f260} {c2fd0c05-dcc0-44ff-b606-96b014ec3058}\r\na=rtcp-mux\r\na=setup:actpass\r\na=ssrc:351988598 cname:{de0af7d4-45b2-406c-bc63-b1f0d50f4aa4}\r\n"}
webrtc-play.js:313 DOMException: Failed to set remote offer sdp: Failed to set remote video description send parameters.
`
from webrtc-examples.
I provide more info. the below is publish-video sdp
wsConnection.onopen
webrtc-publish.js:581 Resuling SDP: v=0
o=- 3123810606380386827 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:4mkn
a=ice-pwd:4nDrcnznSJSvNS8kXC7TK4Iv
a=ice-options:trickle
a=fingerprint:sha-256 89:26:C2:F5:B3:BC:0D:8E:A1:60:E2:0E:6F:B1:E0:51:E2:14:40:C0:77:1E:99:D9:05:53:B0:54:47:75:71:CC
a=setup:actpass
a=mid:0
b=CT:64
b=AS:64
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3 4a238516-54ed-4d8c-8281-bf2e44611300
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=fmtp:103 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:104 ISAC/32000
a=fmtp:104 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:9 G722/8000
a=fmtp:9 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:0 PCMU/8000
a=fmtp:0 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:8 PCMA/8000
a=fmtp:8 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:106 CN/32000
a=fmtp:106 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:105 CN/16000
a=fmtp:105 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:13 CN/8000
a=fmtp:13 x-google-min-bitrate=64;x-google-max-bitrate=64
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1748343322 cname:D3yFBxJtI9ceJzz/
a=ssrc:1748343322 msid:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3 4a238516-54ed-4d8c-8281-bf2e44611300
a=ssrc:1748343322 mslabel:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3
a=ssrc:1748343322 label:4a238516-54ed-4d8c-8281-bf2e44611300
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:4mkn
a=ice-pwd:4nDrcnznSJSvNS8kXC7TK4Iv
a=ice-options:trickle
a=fingerprint:sha-256 89:26:C2:F5:B3:BC:0D:8E:A1:60:E2:0E:6F:B1:E0:51:E2:14:40:C0:77:1E:99:D9:05:53:B0:54:47:75:71:CC
a=setup:actpass
a=mid:1
b=CT:500
b=AS:500
a=framerate:30
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3 8e9b4b6b-0545-4214-a320-e4a71cebafb5
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=fmtp:96 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=fmtp:98 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:99 apt=98
a=rtpmap:100 VP9/90000
a=fmtp:100 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 profile-id=2
a=rtpmap:101 rtx/90000
a=fmtp:101 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=fmtp:102 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:122 rtx/90000
a=fmtp:122 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:122 apt=102
a=rtpmap:127 H264/90000
a=fmtp:127 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f
a=rtpmap:121 rtx/90000
a=fmtp:121 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:121 apt=127
a=rtpmap:125 H264/90000
a=fmtp:125 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:107 rtx/90000
a=fmtp:107 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:107 apt=125
a=rtpmap:108 H264/90000
a=fmtp:108 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtpmap:109 rtx/90000
a=fmtp:109 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:109 apt=108
a=rtpmap:124 H264/90000
a=fmtp:124 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:124 goog-remb
a=rtcp-fb:124 transport-cc
a=rtcp-fb:124 ccm fir
a=rtcp-fb:124 nack
a=rtcp-fb:124 nack pli
a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032
a=rtpmap:120 rtx/90000
a=fmtp:120 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:120 apt=124
a=rtpmap:123 H264/90000
a=fmtp:123 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtcp-fb:123 goog-remb
a=rtcp-fb:123 transport-cc
a=rtcp-fb:123 ccm fir
a=rtcp-fb:123 nack
a=rtcp-fb:123 nack pli
a=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032
a=rtpmap:119 rtx/90000
a=fmtp:119 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:119 apt=123
a=rtpmap:114 red/90000
a=fmtp:114 x-google-min-bitrate=500;x-google-max-bitrate=500
a=rtpmap:115 rtx/90000
a=fmtp:115 x-google-min-bitrate=500;x-google-max-bitrate=500
a=fmtp:115 apt=114
a=rtpmap:116 ulpfec/90000
a=fmtp:116 x-google-min-bitrate=500;x-google-max-bitrate=500
a=ssrc-group:FID 98401446 1978160451
a=ssrc:98401446 cname:D3yFBxJtI9ceJzz/
a=ssrc:98401446 msid:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3 8e9b4b6b-0545-4214-a320-e4a71cebafb5
a=ssrc:98401446 mslabel:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3
a=ssrc:98401446 label:8e9b4b6b-0545-4214-a320-e4a71cebafb5
a=ssrc:1978160451 cname:D3yFBxJtI9ceJzz/
a=ssrc:1978160451 msid:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3 8e9b4b6b-0545-4214-a320-e4a71cebafb5
a=ssrc:1978160451 mslabel:fBEIccVb08VOIt9ukctvAEdU7Bkmq67UI5L3
a=ssrc:1978160451 label:8e9b4b6b-0545-4214-a320-e4a71cebafb5
from webrtc-examples.
I solve the problem. the reason is profile-level-id in sdp is wrong, I change 64C01E to 42C01F, it's OK.
from webrtc-examples.
Related Issues (19)
- Screen sharing using Wowza
- Framerate changes not applying HOT 6
- Settings.js 404's
- Header links need ".html" to work with all web servers
- Not working in Firefox 77.0 (64-bit), MacOSX HOT 2
- failure tolerance HOT 3
- screen sharing with PiP Webcam. HOT 2
- [BUG] Failed to parse video codecs correctly exception is thrown
- Code examples for Angular 2+ HOT 1
- Meeting example / irregular websocket error in clients HOT 4
- Cannot play LIVE streams in mobile browsers HOT 1
- WebRTC: Failed to parse video codecs correctly. HOT 6
- [BUG] H.265/HEVC playback doesn't work with Wowza Webrtc HOT 2
- Meeting page not working HOT 2
- the videochat has so much noise and a big acoustic echo HOT 5
- only allowed user need to publish and play URL HOT 1
- Chrome Play example not working - Wowza hosted example does HOT 6
- Cannot read property 'getUserMedia' of undefined HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-examples.