About the quality. Please test the channel between publisher and server using iperf or similar tool: Testing channel bandwidth using iperf. The publishing bitrate mast be at least twice lower than channel bandwidth. You can also switch to TCP transport: Publishing and playing stream via WebRTC over TCPalso when downloading recoding streaming video quality is very low
ice_tcp_transport=true
publishStream
object and stat
objectconsole.log(publishStream);About the quality. Please test the channel between publisher and server using iperf or similar tool: Testing channel bandwidth using iperf. The publishing bitrate mast be at least twice lower than channel bandwidth. You can also switch to TCP transport: Publishing and playing stream via WebRTC over TCP
About WebRTC statitics. Add console logging ofCode:ice_tcp_transport=true
publishStream
object andstat
object
View attachment 3791
to check if statistics is collected successfully.
What is displayed in DevTools console in this case:not working
if (publishStream) {
console.log(publishStream);
publishStream.getStats(function(stat) {
console.log(stat);
...
})
...
}
publishStream
is null. Please check if the property is set correctly.loadStats
is calling.getting error....What is displayed in DevTools console in this case:
If none, seems likeCode:if (publishStream) { console.log(publishStream); publishStream.getStats(function(stat) { console.log(stat); ... }) ... }
publishStream
is null. Please check if the property is set correctly.
Check also ifloadStats
is calling.
Please look at React integration examples description and actual source code: ReactJS, Typescripthow to set property correctly.
Please check the samples mentioned in this post.publishStream is undefined
Does Two Way Streaming React example works? If yes, add the statistics collection code to it and check if this works.Already use and check the sample.....
Two Way Streaming React example is works but the statistics collection code not workingDoes Two Way Streaming React example works? If yes, add the statistics collection code to it and check if this works.
This is the camera test supposed in this message. You do not publish stream, but capture camera in browser. In Media Devices example, pressplease see below screen short.
I want to like this
Test
button, then press Release
. This is the camera test without publishing the stream.You can start the test on page loading and stop the test when customer clicks Publish button on the page.When open URL or hit on browser that time auto open camera same like press Test button.
I don't want to press Test button.
We can't reproduce the issue in iOS Safari 17.1.2 using Media Devices example on demo server, a stream is publishing successfully. Please check the example. If it works, modify example code minimally to reproduce the issue and send using this form.when we are streaming with iPhone latest version streaming not publish