WebRtc as RTMP to Fb Live

Mani

New Member
Hi,
I am trying to publish webrtc as rtmp to fblive but always getting failed..
I have made the following changes
rtmp_transponder_stream_name_prefix =rtmp_ --- removed this line
rtmp_transponder_full_url =true --- added this line

I am using 2551 version
 

Attachments

  • Flashphoner.png
    Flashphoner.png
    64.9 KB · Views: 457
Hello,

The functionality does work in 2551. Please confirm that connection to server can be established and WebRTC publishing is working (e.g., using Two-Way Streaming demo).
 
Yes connection to server is established but publishing any kind of stream is not working.. here is the log error
17:43:17,530 INFO agerRemoteRmiService - RMI TCP Connection(7)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:53154/192.168.3.202:8443",
"mediaSessionId" : "5c743900-c547-11e7-a36b-992c8b7486bb",
"name" : "Test",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"info" : "Can't find suitable network interface",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"rtmpUrl" : "rtmp://live-api-a.facebook.com:80/rtmp/1531601163552456?ds=1&a=AThQIcqSb1nO-E9I",
"createDate" : 1510229597476,
"mediaProvider" : "WebRTC",
"history" : false
}
17:43:26,276 INFO agerRemoteRmiService - RMI TCP Connection(7)-127.0.0.1 SEND REST OBJECT ==>
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:52820/192.168.3.202:8443",
"status" : "DISCONNECTED"
}
17:43:26,290 INFO agerRemoteRmiService - RMI TCP Connection(7)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:52820/192.168.3.202:8443",
"status" : "DISCONNECTED"
}
17:43:34,600 INFO agerRemoteRmiService - RMI TCP Connection(7)-127.0.0.1 SEND REST OBJECT ==>
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:53154/192.168.3.202:8443",
"status" : "DISCONNECTED"
}
17:43:34,608 INFO agerRemoteRmiService - RMI TCP Connection(7)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:53154/192.168.3.202:8443",
"status" : "DISCONNECTED"
}
17:44:20,945 INFO agerRemoteRmiService - RMI TCP Connection(8)-127.0.0.1 SEND REST OBJECT ==>
URL:http://localhost:9091/EchoApp/connect
OBJECT:
{
"nodeId" : "8oqThJbZhUsuInIWXYZAwYlLuvSSBChC@",
"appKey" : "defaultApp",
"sessionId" : "/192.168.3.22:53333/192.168.3.202:8443",
"useWsTunnel" : false,
"useWsTunnelPacketization2" : false,
"useBase64BinaryEncoding" : false,
"mediaProviders" : [ "WebRTC", "MSE", "WSPlayer" ],
"clientVersion" : "0.5.25",
"clientOSVersion" : "5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Mobile Safari/537.36",
"clientBrowserVersion" : "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Mobile Safari/537.36",
"origin" : "http://localhost"
}
 
Last edited:
Verify that ip and ip_local in WCS_HOME/conf/flashphoner.properties are set to the appropriate IP address, i.e. 192.168.3.22 if this is a local server.
 
Thanx it worked by setting the IP address.Once i go on server will i have to change the IP addresses over there also or it will take automatically there??
 
You have to set the IP address manually or using appropriate scripts.
 
Top