robertosamayoa Posted March 17 Share Posted March 17 Link to comment Share on other sites More sharing options...
0 Yash Posted March 20 Share Posted March 20 Hi @robertosamayoa According to the screenshot, there appears to be no audio/video source to choose. Regards, Yash Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted March 21 Author Share Posted March 21 On 3/20/2023 at 1:08 AM, Yash said: Hi @robertosamayoa According to the screenshot, there appears to be no audio/video source to choose. Regards, Yash Yes, but seems is related to browser policy that affect publish page and merge page stream_merger.js:9 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu StreamMerger @ stream_merger.js:9 webrtc_adaptor.js:98 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu WebRTCAdaptor @ webrtc_adaptor.js:98 media_manager.js:88 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu MediaManager @ media_manager.js:88 merge_streams.html:398 initialized merge_streams.html:406 joined the room: room1 merge_streams.html:408 Object merge_streams.html:415 Stream joined with ID: lCLLCOvKgZAqWBtx webrtc_adaptor.js:667 stream id in init peer connection: lCLLCOvKgZAqWBtx close stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:506 onTrack stream_merger.js:153 Sorting the streams stream_merger.js:223 Row number = 1 stream_merger.js:224 canvas width = 320canvas height = 240 stream_merger.js:230 extraStreams = 0 stream length = 1 stream_merger.js:231 Xindex = 0Yindex = 0 stream_merger.js:258 Video width = 320Video height = 240 webrtc_adaptor.js:506 onTrack webrtc_adaptor.js:890 try to create answer for stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:895 created answer for stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:579 No event.candidate in the iceCandidate event webrtc_adaptor.js:647 Data channel is opened merge_streams.html:264 Uncaught TypeError: webRTCAdaptor.gotStream is not a function at merge_streams.html:264:18 webrtc_adaptor.js:391 leave request is sent for room1 webrtc_adaptor.js:652 Data channel is closed merge_streams.html:481 play_finished stream_merger.js:398 removed streamId = lCLLCOvKgZAqWBtx stream_merger.js:153 Sorting the streams stream_merger.js:223 Row number = 1 stream_merger.js:224 canvas width = 320canvas height = 240 webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted March 23 Author Share Posted March 23 On 3/21/2023 at 4:48 PM, robertosamayoa said: Yes, but seems is related to browser policy that affect publish page and merge page stream_merger.js:9 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu StreamMerger @ stream_merger.js:9 webrtc_adaptor.js:98 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu WebRTCAdaptor @ webrtc_adaptor.js:98 media_manager.js:88 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu MediaManager @ media_manager.js:88 merge_streams.html:398 initialized merge_streams.html:406 joined the room: room1 merge_streams.html:408 Object merge_streams.html:415 Stream joined with ID: lCLLCOvKgZAqWBtx webrtc_adaptor.js:667 stream id in init peer connection: lCLLCOvKgZAqWBtx close stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:506 onTrack stream_merger.js:153 Sorting the streams stream_merger.js:223 Row number = 1 stream_merger.js:224 canvas width = 320canvas height = 240 stream_merger.js:230 extraStreams = 0 stream length = 1 stream_merger.js:231 Xindex = 0Yindex = 0 stream_merger.js:258 Video width = 320Video height = 240 webrtc_adaptor.js:506 onTrack webrtc_adaptor.js:890 try to create answer for stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:895 created answer for stream id: lCLLCOvKgZAqWBtx webrtc_adaptor.js:579 No event.candidate in the iceCandidate event webrtc_adaptor.js:647 Data channel is opened merge_streams.html:264 Uncaught TypeError: webRTCAdaptor.gotStream is not a function at merge_streams.html:264:18 webrtc_adaptor.js:391 leave request is sent for room1 webrtc_adaptor.js:652 Data channel is closed merge_streams.html:481 play_finished stream_merger.js:398 removed streamId = lCLLCOvKgZAqWBtx stream_merger.js:153 Sorting the streams stream_merger.js:223 Row number = 1 stream_merger.js:224 canvas width = 320canvas height = 240 webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) webrtc_adaptor.js:391 leave request is sent for room1 stream_merger.js:414 Uncaught TypeError: Cannot read properties of null (reading 'close') at StreamMerger.stop (stream_merger.js:414:21) at HTMLButtonElement.leaveRoom (merge_streams.html:283:10) I have issues on all pages seems relates to webrtc adaptor any help ? Link to comment Share on other sites More sharing options...
0 Yash Posted March 23 Share Posted March 23 @robertosamayoa Unfortunately, the issue is not clear to me. Is there a scenario that can be replicated? There is no problem when I publish the stream using the sample page. If something is different on your end, could you please describe your scenario? Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted March 23 Author Share Posted March 23 you will see here https://node1.roomway.net:5443/WebRTCAppEE/ check sources audio and video not display on firefox say publishingtimeout https://node1.roomway.net:5443/WebRTCAppEE/merge_streams.html not load player and here you will see not working Link to comment Share on other sites More sharing options...
0 Yash Posted March 24 Share Posted March 24 @robertosamayoa As I checked, I am able to publish the stream on your server using Firefox browser. Also it seems you are using an older version of AMS. Please upgrade your server to latest version (v2.5.3) of AMS.https://resources.antmedia.io/docs/upgrade-ams Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted March 26 Author Share Posted March 26 seems that error yes need new ams, but still not able to fix even using new ams i am getting these error It cannot add ICE Candidate because remote description is not set for stream YxqQKmYvyZQvvKlG. It will be added after remote description is set Link to comment Share on other sites More sharing options...
0 Yash Posted March 27 Share Posted March 27 @robertosamayoa We can set up a meeting to discuss your problem. Please let us know your availability for this week. I am in the IST (India) time zone. Link to comment Share on other sites More sharing options...
0 rahul7827 Posted March 27 Share Posted March 27 On 3/26/2023 at 10:04 AM, robertosamayoa said: seems that error yes need new ams, but still not able to fix even using new ams i am getting these error It cannot add ICE Candidate because remote description is not set for stream YxqQKmYvyZQvvKlG. It will be added after remote description is set Hi @robertosamayoa Did you upgraded the client side SDK as well? If not give it a try, In older version there were an issue reading the media devices (audio/video). 1 Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted March 27 Author Share Posted March 27 2 hours ago, rahul7827 said: Hi @robertosamayoa Did you upgraded the client side SDK as well? If not give it a try, In older version there were an issue reading the media devices (audio/video). yes i was able to fix sources issue with new ams. at least sources issue. 1 Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted April 1 Author Share Posted April 1 hello, i was keeping testing i think these new policys or changes on browsers is also afecting antmedia, as i was not getting audio. example 1./ start streaming on publish page 2./ Go to player.html set stream id, you will get video but no audio. please verify. Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted April 1 Author Share Posted April 1 check with noise supression and echo. Link to comment Share on other sites More sharing options...
0 Yash Posted April 1 Share Posted April 1 @robertosamayoa Yes, you are correct; there is an issue on the sample page when noise suppression and echo are enabled. As of now, you can enable these options before publishing, so there should be no problems, as I tested. Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted April 1 Author Share Posted April 1 yes but if enable then goodbye audio, these option stop working Noise Supression Echo Cancellation soundmeter.js:19 [Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet) Link to comment Share on other sites More sharing options...
0 Yash Posted April 1 Share Posted April 1 @robertosamayoa You are correct. As previously stated, you can enable these options before publishing, and it appears to be working. Could you please create a bug report on the following repository so we can fix the issue?https://github.com/ant-media/Ant-Media-Server/issues/new/choose Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted April 2 Author Share Posted April 2 On 4/1/2023 at 1:30 AM, Yash said: @robertosamayoa You are correct. As previously stated, you can enable these options before publishing, and it appears to be working. Could you please create a bug report on the following repository so we can fix the issue?https://github.com/ant-media/Ant-Media-Server/issues/new/choose is opened now, Noise Supression Echo Cancellation #4955 1 Link to comment Share on other sites More sharing options...
0 Yash Posted April 2 Share Posted April 2 Thanks @robertosamayoa Link to comment Share on other sites More sharing options...
Question
robertosamayoa
Link to comment
Share on other sites
Top Posters For This Question
10
7
1
Popular Days
Apr 1
5
Mar 23
3
Mar 27
3
Apr 2
2
Top Posters For This Question
robertosamayoa 10 posts
Yash 7 posts
rahul7827 1 post
Popular Days
Apr 1 2023
5 posts
Mar 23 2023
3 posts
Mar 27 2023
3 posts
Apr 2 2023
2 posts
Popular Posts
rahul7827
Hi @robertosamayoa Did you upgraded the client side SDK as well? If not give it a try, In older version there were an issue reading the media devices (audio/video).
robertosamayoa
yes i was able to fix sources issue with new ams. at least sources issue.
robertosamayoa
is opened now, Noise Supression Echo Cancellation #4955
Posted Images
17 answers to this question
Recommended Posts