Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Video streaming Kurento视频流_Video Streaming_Kurento - Fatal编程技术网

Video streaming Kurento视频流

Video streaming Kurento视频流,video-streaming,kurento,Video Streaming,Kurento,我有一个Java应用程序,我正在Linux机器上运行Kurento Media Server。我正在尝试让该应用程序运行。我可以访问该网页,看到本地流工作,但远程流从未通过——在Chrome或Firefox上 日志 网页控制台显示: 10:24:54.361 [ http-nio-80-exec-7] DEBUG - o.k.tutorial.groupcall.CallHandler - Incoming message from user 'Alex': {"id":"rece

我有一个Java应用程序,我正在Linux机器上运行Kurento Media Server。我正在尝试让该应用程序运行。我可以访问该网页,看到本地流工作,但远程流从未通过——在Chrome或Firefox上

日志

网页控制台显示:

10:24:54.361 [  http-nio-80-exec-7] DEBUG - o.k.tutorial.groupcall.CallHandler       - Incoming message from user 'Alex': {"id":"receiveVideoFrom","sender":"Alex","sdpOffer":"v=0\r\no=- 3371483860$
10:24:54.362 [  http-nio-80-exec-7] INFO  - o.k.tutorial.groupcall.UserSession       - USER Alex: connecting with Alex in room myroom
10:24:54.362 [  http-nio-80-exec-7] DEBUG - o.k.tutorial.groupcall.UserSession       - PARTICIPANT Alex: configuring loopback
10:24:54.363 [  http-nio-80-exec-7] DEBUG - o.k.c.i.c.RemoteObjectInvocationHandler  - Invoking method public abstract java.lang.String org.kurento.client.SdpEndpoint.processOffer(java.lang.String$
10:24:54.378 [  http-nio-80-exec-7] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - Req-> {"id":3,"method":"invoke","params":{"object":"23f96b3d-fb8f-48f8-a009-14efec6e93be_MediaPipeline/1b9ed8$
10:24:54.711 [  http-nio-80-exec-7] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - <-Res {"id":3,"result":{"value":"v=0\r\no=- 3371483860089944829 0 IN IP4 0.0.0.0\r\ns=Kurento Media Server\r\$
10:24:54.712 [  http-nio-80-exec-7] DEBUG - o.k.tutorial.groupcall.UserSession       - USER Alex: Sending message {"id":"receiveVideoAnswer","name":"Alex","sdpAnswer":"v=0\r\no=- 33714838600899448$
10:24:59.107 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.CallHandler       - Incoming message from new user: {"id":"joinRoom","name":"Alex","room":"559a3b4683c8c"}
10:24:59.108 [  http-nio-80-exec-8] INFO  - o.k.tutorial.groupcall.CallHandler       - PARTICIPANT Alex: trying to join room 559a3b4683c8c
10:24:59.108 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.RoomManager       - Searching for room 559a3b4683c8c
10:24:59.108 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.RoomManager       - Room 559a3b4683c8c not existent. Will create now!
10:24:59.108 [  http-nio-80-exec-8] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - Req-> {"id":4,"method":"create","params":{"type":"MediaPipeline","constructorParams":{},"sessionId":"d25998a6$
10:24:59.111 [  http-nio-80-exec-8] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - <-Res {"id":4,"result":{"value":"8f687144-a7ac-41fc-8e8e-da8c52617786_MediaPipeline","sessionId":"d25998a6-86$
10:24:59.112 [  http-nio-80-exec-8] INFO  - org.kurento.tutorial.groupcall.Room      - ROOM 559a3b4683c8c has been created
10:24:59.112 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.RoomManager       - Room 559a3b4683c8c found!
10:24:59.112 [  http-nio-80-exec-8] INFO  - org.kurento.tutorial.groupcall.Room      - ROOM Alex: adding participant Alex
10:24:59.112 [  http-nio-80-exec-8] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - Req-> {"id":5,"method":"create","params":{"type":"WebRtcEndpoint","constructorParams":{"mediaPipeline":"8f687$
10:24:59.115 [  http-nio-80-exec-8] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - <-Res {"id":5,"result":{"value":"8f687144-a7ac-41fc-8e8e-da8c52617786_MediaPipeline/baa692bd-f82d-4714-9ac9-a$
10:24:59.115 [  http-nio-80-exec-8] DEBUG - org.kurento.tutorial.groupcall.Room      - ROOM 559a3b4683c8c: notifying other participants of new participant Alex
10:24:59.116 [  http-nio-80-exec-8] DEBUG - org.kurento.tutorial.groupcall.Room      - PARTICIPANT Alex: sending a list of 0 participants
10:24:59.116 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.UserSession       - USER Alex: Sending message {"id":"existingParticipants","data":[]}
10:24:59.117 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.CallHandler       - Incoming message from user 'Alex': {"id":"leaveRoom"}
10:24:59.117 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.RoomManager       - Searching for room 559a3b4683c8c
10:24:59.117 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.RoomManager       - Room 559a3b4683c8c found!
10:24:59.117 [  http-nio-80-exec-8] DEBUG - org.kurento.tutorial.groupcall.Room      - PARTICIPANT Alex: Leaving room 559a3b4683c8c
10:24:59.117 [  http-nio-80-exec-8] DEBUG - org.kurento.tutorial.groupcall.Room      - ROOM 559a3b4683c8c: notifying all users that Alex is leaving the room
10:24:59.117 [  http-nio-80-exec-8] DEBUG - o.k.tutorial.groupcall.UserSession       - PARTICIPANT Alex: Releasing resources
10:24:59.118 [  http-nio-80-exec-8] DEBUG - o.k.c.i.c.RemoteObjectInvocationHandler  - Invoking method public abstract void org.kurento.client.KurentoObject.release(org.kurento.client.Continuation$
10:24:59.122 [  http-nio-80-exec-8] DEBUG - o.k.c.i.c.RemoteObjectInvocationHandler  - Invoking method public abstract void org.kurento.client.KurentoObject.release(org.kurento.client.Continuation$
10:24:59.123 [     pool-1-thread-1] DEBUG - o.k.j.client.JsonRpcClientWebSocket      - Req-> {"id":6,"method":"release","params":{"object":"8f687144-a7ac-41fc-8e8e-da8c52617786_MediaPipeline/baa69$
10:24:59.127 [  http-nio-80-exec-8] DEBUG - org.kurento.tutorial.groupcall.Room      - Room 559a3b4683c8c closed
10:24:59.128 [  http-nio-80-exec-8] INFO  - o.k.tutorial.groupcall.RoomManager       - Room 559a3b4683c8c removed and closed
有人知道吗


谢谢

您的客户端和KMS服务器在同一网络中吗?如果没有,您将需要使用STUN服务器。我现在面临与您类似的问题,我的最后一个日志等于您的->“收到SDP应答,设置远程描述”,您找到了解决方案吗?好的,我们已经在内部找到了此问题的根本原因。我公司的安全策略不允许通过WebRTC发送的流进出。您的客户端和KMS服务器是否在同一网络中?如果没有,您将需要使用STUN服务器。我现在面临与您类似的问题,我的最后一个日志等于您的->“收到SDP应答,设置远程描述”,您找到了解决方案吗?好的,我们已经在内部找到了此问题的根本原因。我公司的安全策略不允许通过与WebRTC一起发送的流进出。
Loading complete ...
Starting video call ...
spec: {"audio":true,"video":{"mandatory":{"maxWidth":640,"maxFrameRate":15,"minFrameRate":15}}}
chrome: {"audio":true,"video":{"mandatory":{"maxWidth":640,"maxFrameRate":15,"minFrameRate":15}}}
Created SDP offer
Local description set
ICE negotiation completed
Invoking SDP offer callback function 10.5.104.13
Received sdpAnswer from server. Processing ...
SDP answer received, setting remote description