2016-03-30 8 views
0

Ich möchte, dass das Streaming auf dem Server recorde I Kurento Media Server als https://www.kurento.org/docs/6.0.0/installation_guide.html#kurento-media-server-installationKurento 12.59 Videoanruf Java Aufnahme

Dann folgen Sie diesem https://www.kurento.org/docs/6.0.0/tutorials/java/tutorial-5-one2one-adv.html

aber mit Version 6.4.0, meine Server zu installieren beginnen als

[email protected]:~/kurento-java/kurento-tutorial-java/kurento-one2one-call-recording# mvn compile exec:java 
[INFO] Scanning for projects... 
[INFO]                   
[INFO] ------------------------------------------------------------------------ 
[INFO] Building Kurento Java Tutorial - One2One Call Advanced 6.4.0 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ kurento-one2one-call-recording --- 
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ kurento-one2one-call-recording --- 
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (get-build-timestamp) @ kurento-one2one-call-recording --- 
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ kurento-one2one-call-recording --- 
[INFO] Executing: /bin/sh -c cd '/root/kurento-java/kurento-tutorial-java/kurento-one2one-call-recording' && 'git' 'rev-parse' '--verify' 'HEAD' 
[INFO] Working directory: /root/kurento-java/kurento-tutorial-java/kurento-one2one-call-recording 
[INFO] Storing buildNumber: 343b64978ee5659dde884ffeaf3dba61d48db9ea at timestamp: 1459320863044 
[INFO] Storing buildScmBranch: master 
[INFO] 
[INFO] --- exec-maven-plugin:1.4.0:exec (default) @ kurento-one2one-call-recording --- 
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ kurento-one2one-call-recording --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 326 resources 
[INFO] Copying 1 resource 
[INFO] Copying 1 resource 
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ kurento-one2one-call-recording --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ kurento-one2one-call-recording --- 

    .------------------------------------. 
    |         | 
    | | |//_ _ _ ___ _ _| |_ ___ | 
    | | ' < || | '_/ -_) ' \ _/ _ \ | 
    | |_|\_\_,_|_| \___|_||_\__\___/ | 
    |         | 
    '------------------------------------' 
        version 6.4.0 

11:54:29.135 [OneCallRecApp.main()] INFO - o.k.t.one2onecallrec.One2OneCallRecApp - 
       Starting One2OneCallRecApp on webrtc with PID 2784 (/root/kurento-java/kurento-tutorial-java/kurento-one2one-call-recording/target/classes started by root in /root/kurento-java/kurento-tutorial-java/kurento-one2one-call-recording) 
11:54:29.148 [OneCallRecApp.main()] DEBUG - o.k.t.one2onecallrec.One2OneCallRecApp - 
       Running with Spring Boot v1.3.0.RELEASE, Spring v4.2.3.RELEASE 
11:54:29.150 [OneCallRecApp.main()] INFO - o.k.t.one2onecallrec.One2OneCallRecApp - 
       No profiles are active 
11:54:30.353 [  pool-1-thread-1] INFO - o.h.validator.internal.util.Version  - 
       HV000001: Hibernate Validator 5.2.2.Final 
11:54:34.651 [OneCallRecApp.main()] INFO - org.kurento.commons.UrlServiceLoader  - 
       Config file is null (usually this means that config file doesn't exist). Using default url ws://127.0.0.1:8888/kurento 
11:54:34.653 [OneCallRecApp.main()] DEBUG - o.kurento.client.internal.KmsUrlLoader - 
       Executing getKmsUrlLoad(88bf57a7-d8f1-4154-b796-ba8b99e1d744) in KmsUrlLoader 
11:54:34.655 [OneCallRecApp.main()] DEBUG - o.kurento.client.internal.KmsUrlLoader - 
       Obtaining kmsUrl=ws://127.0.0.1:8888/kurento from config file or system property 
11:54:34.657 [OneCallRecApp.main()] INFO - org.kurento.client.KurentoClient   - 
       Connecting to kms in ws://127.0.0.1:8888/kurento 
11:54:34.717 [OneCallRecApp.main()] DEBUG - o.kurento.jsonrpc.client.JsonRpcClient - 
       Enabling heartbeat with an interval of 240000 ms 
11:54:34.728 [  pool-3-thread-1] DEBUG - o.k.j.client.JsonRpcClientWebSocket  - 
       [KurentoClient] Connecting webSocket client to server ws://127.0.0.1:8888/kurento 
11:54:37.709 [OneCallRecApp.main()] INFO - o.k.t.one2onecallrec.One2OneCallRecApp - 
       Started One2OneCallRecApp in 9.722 seconds (JVM running for 26.297) 

Nun, wie wird es auf http zugreifen? http://localhost:8080/ reagiert nichts.

Antwort

1

Sie können nicht auf Port 8080 zugreifen, da alle Tutorials standardmäßig seit Mitte Dezember in https://<ip>:8443 geliefert werden. Ab Chrome 47, getUserMedia Anfragen werden nur durch gesicherte Ursprünge unterstützt. Obwohl http://localhost:<port> als sicher gilt, haben wir uns entschieden, kein Tutorial über ein unsiches Protokoll zu liefern, nur um zu verhindern, dass Benutzer aus diesem Grund Fehler in ihren Konsolen bekommen.