Не устанавливается соединение с wss

idukich

New Member
День добрый!

Пытаюсь протестировать вашу технологию. Для примера беру examples\demo\streaming

в консоль пишет что не удается установить соединение с wss сервером.


Ниже логи с сервера где я ваш WCS разворачивал.

Подскажите где туплю.


root@ubuntu:/usr/local/FlashphonerWebCallServer# service webcallserver start
Command 'service' is available in '/usr/sbin/service'
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
service: command not found
root@ubuntu:/usr/local/FlashphonerWebCallServer# /usr/sbin/service webcallserver start
root@ubuntu:/usr/local/FlashphonerWebCallServer# tail -f /usr/local/FlashphonerWebCallServer/logs/flashphoner_manager.log
15:44:58,794 INFO DemoController - http-nio-8888-exec-9 request for shared link shared/examples/demo/dependencies/bootstrap/font-awesome/css/font-aweso
me.min.css
15:44:58,796 INFO DemoController - http-nio-8888-exec-4 request for shared link shared/examples/demo/dependencies/bootstrap/css/bootstrap.css
15:44:58,799 INFO DemoController - http-nio-8888-exec-3 request for shared link shared/examples/demo/streaming/embed_player/jquery-ui.css
15:44:58,801 INFO DemoController - http-nio-8888-exec-6 request for shared link shared/examples/demo/dependencies/jquery/jquery-1.12.0.js
15:44:58,801 INFO DemoController - http-nio-8888-exec-8 request for shared link shared/flashphoner.js
15:44:58,849 INFO DemoController - http-nio-8888-exec-5 request for shared link shared/examples/demo/dependencies/jquery/jquery-ui.js
15:44:58,870 INFO DemoController - http-nio-8888-exec-10 request for shared link shared/examples/demo/streaming/embed_player/jquery.ui.touch-punch.min.
js
15:44:58,899 INFO DemoController - http-nio-8888-exec-1 request for shared link shared/examples/demo/dependencies/js/utils.js
15:44:58,924 INFO DemoController - http-nio-8888-exec-7 request for shared link shared/examples/demo/streaming/embed_player/player.js
15:45:00,886 INFO DemoController - http-nio-8888-exec-9 request for shared link shared/examples/demo/streaming/embed_player/images/play.png
^C
root@ubuntu:/usr/local/FlashphonerWebCallServer# ps aux | grep Flashphoner
root 7358 4.4 18.5 2389128 569040 ? Sl 15:28 1:54 java -Dloader.path=/usr/local/FlashphonerWebCallServer-5.0.3229/lib/tbs-commons.jar,/usr/loca
root 8877 0.0 0.0 11284 940 pts/0 S+ 16:11 0:00 grep --color=auto Flashphoner
 

Max

Administrator
Staff member
Добрый день.
1. Для первых тестов лучше использовать Two Way Streaming.
Он дает отдельно сделать коннект к серверу и отдельно создать стрим.
https://demo.flashphoner.com/client...ming/two_way_streaming/two_way_streaming.html
2. Убедитесь что процессы запущены и стандартный порт 8443 открыт и принимает соединения. Проверьте firewall.
Команды:
Code:
ps aux | grep java
netstat -nlp | grep 8443
telnet host 8443
Подробнее здесь:
https://forum.flashphoner.com/threads/troubleshooting.10768/
 
Top