Unable to play stream using WebRtc

Unable to play stream using WebRtc

Support ForumCategory: Usage and FeaturesUnable to play stream using WebRtc
avaneesh asked 11 months ago
Hello ,  I am using EvoStream v 2.0 and wanted to play stream using webrtc so for that i have follow this linq  http://docs.evostream.com/ems_how_to_guide/webrtc I have pushed my rtmp stream to evostream and that stream i am able to play in vlc player  . Then in have issued a following command to play stream using webrtc  startwebrtc ersip=54.174.188.145 ersport=4545 roomid=monty
U{“data”:{“configId”:2,”ers”:””,”ersOverSsl”:false,”ersip”:”54.174.188.145″,”ersport”:4545,”keepAlive”:true,”name”:”evostreamms”,”operationType”:9,”roomid”:”monty”,”sslCert”:”..\\EvoStream\\config\\server.cert”,”sslKey”:”..\\EvoStream\\config\\server.key”,”token”:””},”description”:”Started WebRTC Negotiation Service”,”status”:”SUCCESS”} It shows the success message .  Now i have open a evoplayers.html and enter the details such as ers IP, streamName and roomname properly  when i press play nothing happens only black window is showing also in show debug message nothing is showing .  I have checked the console window of evostream it shows following error  C:\Users\user1\ems\sources\thelib\include\netio/iocp/tcpconnector.h:87 TCPConnector failed. Error code was: 121 (The semaphore timeout period has expired.
)
..\..\..\sources\thelib\src\protocols\wrtc\wrtcappprotocolhandler.cpp:138 Connection failed:
<MAP name=”” isArray=”false”>
<UINT32 name=”configId”>3</UINT32>
<STR name=”ers”></STR>
<BOOL name=”ersOverSsl”>false</BOOL>
<STR name=”ersip”>54.174.188.145</STR>
<UINT64 name=”ersport”>4545</UINT64>
<BOOL name=”keepAlive”>true</BOOL>
<STR name=”name”>evostreamms</STR>
<UINT8 name=”operationType”>9</UINT8>
<BOOL name=”reSpawned”>true</BOOL>
<STR name=”roomid”>hello</STR>
<STR name=”sslCert”>..\EvoStream\config\server.cert</STR>
<STR name=”sslKey”>..\EvoStream\config\server.key</STR>
<STR name=”token”></STR>
</MAP>   also when i use liststreams command it shows me the following result  liststreams
{“data”:[{“appName”:”evostreamms”,”audio”:{“aveAudioBitRate”:129104.0941,”bytesCount”:1394970,”codec”:”AAAC”,”codecNumeric”:4702111241970122752,”currAudioBitRate”:130161.6000,”droppedBytesCount”:0,”droppedPacketsCount”:0,”packetsCount”:12441},”bandwidth”:5007,”connectionType”:0,”creationTimestamp”:1540358005851.5242,”edgePid”:0,”farIp”:”127.0.0.1″,”farPort”:53684,”ingestPoint”:”mystream.sdp”,”ip”:”127.0.0.1″,”name”:”mystream.sdp”,”nearIp”:”127.0.0.1″,”nearPort”:1936,”outStreamsUniqueIds”:[2],”port”:1936,”processId”:11444,”processType”:”origin”,”queryTimestamp”:1540358091402.6560,”tcUrl”:”rtmp:\/\/127.0.0.1:1936\/live”,”type”:”INR”,”typeNumeric”:5282249572905648128,”uniqueId”:1,”upTime”:85551.1318,”video”:{“aveFrameRate”:62.9765,”aveKeyFramesPerSec”:16.7647,”aveVideoBitRate”:4467005.8353,”bytesCount”:48375916,”codec”:”VH264″,”codecNumeric”:6217274493967007744,”currFrameRate”:60.4000,”currKeyFramesPerSec”:14.2000,”currVideoBitRate”:4433683.2000,”droppedBytesCount”:0,”droppedPacketsCount”:0,”height”:1084,”level”:40,”packetsCount”:379213,”profile”:100,”width”:1920}},{“appName”:”evostreamms”,”audio”:{“bytesCount”:1394970,”codec”:”AAAC”,”codecNumeric”:4702111241970122752,”droppedBytesCount”:0,”droppedPacketsCount”:0,”packetsCount”:12441},”bandwidth”:5007,”connectionType”:3,”creationTimestamp”:1540358005884.5720,”edgePid”:0,”farIp”:””,”farPort”:0,”hlsSettings”:{“AESKeyCount”:5,”bandwidth”:0,”chunkBaseName”:”mystream.sdp”,”chunkLength”:5,”chunkOnIDR”:false,”cleanupDestination”:true,”configId”:1,”createMasterPlaylist”:false,”drmType”:””,”groupName”:”autoHLS”,”groupTargetFolder”:”..\\EvoStream\\media\\autoHLS\\”,”hlsVersion”:6,”keepAlive”:false,”localStreamName”:”mystream.sdp”,”masterPlaylistPath”:”..\\EvoStream\\media\\autoHLS\\playlist.m3u8″,”operationType”:3,”overwriteDestination”:true,”playlistLength”:5,”playlistName”:”mystream.sdp.m3u8″,”playlistType”:”rolling”,”staleRetentionCount”:5,”targetFolder”:”..\\EvoStream\\media\\autoHLS\\mystream.sdp”,”timestamp”:1540358005852.0242},”inStreamUniqueId”:1,”ip”:””,”name”:”mystream.sdp”,”nearIp”:””,”nearPort”:0,”port”:0,”processId”:11444,”processType”:”origin”,”queryTimestamp”:1540358091403.1421,”type”:”OFHLS”,”typeNumeric”:5712332670013276160,”uniqueId”:2,”upTime”:85518.5701,”video”:{“bytesCount”:48375916,”codec”:”VH264″,”codecNumeric”:6217274493967007744,”droppedBytesCount”:0,”droppedPacketsCount”:0,”height”:1084,”level”:40,”packetsCount”:379213,”profile”:100,”width”:1920}}],”description”:”Available streams”,”status”:”SUCCESS”} I am stuck at this position Could you please help me to sort this issue . What steps i can take to overcome from this issue .           



1 Answers
erika Staff answered 7 months ago
Hi avaneesh, Apologies for the late response.  Have you resolve this issue already?   Regards,

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.