Hello Lorenzo, this is in regard to the questions I emailed you about with UV4L, Janus and IP Cam. Attached is a log that would give complete descriptions of all the message logs when I try to join a video conference and see no stream displayed.
Thank you!
Hello Lorenzo thanks for your Reply,
I did some further debugging tests with the admin API and a RESTFUL API as well, and I realized the issue I am having is that with the Video Room Plugin and Events, I am getting error code 404 Access Denied or Page Not Found, do you think its a setting with registering a username in the room? I have not configured the pin for a room. Also could it be related to port blocking issues outside of Janus? Posted below are the excerpts of the Restful API tests for you to please direct me if the issue is outside of Janus or a setting I did not add or maybe rights of users. My /opt/janus directory is owned by "root" so it my Apache Webserver. But I am running Janus as a different user under ubuntu VM.
Here are the Logs:
[API/JANUS/CLIENT/SETTINGS/(JANUS SETTINGS)] 200 OK
{
"gateway": {
"apisecret": "",
"auth_token": "",
"root": "/janus",
"url": "https://vea.mil:8089"
},
"http_proxy": {
"host": "",
"non_proxy_hosts_regex": "",
"password": "",
"port": 80,
"user": ""
},
"session": {
"reconnect_delay_s": 3,
"reconnect_on_failure": true
},
"videoroom": {
"as_listener": {
"audio": true,
"data": true,
"video": true
},
"as_publisher": {
"adjust_max_bitrate_for_hardware_videocodec": true,
"audio": true,
"data": true,
"max_bitrate_bits": 0,
"rec_filename": "myrecording",
"record": false,
"use_hardware_videocodec": false,
"video": true,
"video_format_id": 60
},
"audiocodec": "opus",
"fir_freq": 0,
"is_private": false,
"max_bitrate_for_publishers_bits": 128000,
"max_listeners": 2,
"max_publishers": 6,
"permanent": false,
"rec_dir": "/usr/share/janus/recordings/",
"record": false,
"room": 1234,
"room_description": "",
"room_pin": "",
"room_secret": "",
"username": "bambam",
"videocodec": "vp8"
}
}
[API/JANUS/Client(Session)] 200 OK
{
"plugins": [],
"session_id": ""
}
[API/JANUS/VideoRoom (Video Room Plugin) 404 Page Not Found or Access Denied
Same error Code for API/JANUS/Client/Events 404
{
"response": {
"code": 404,
"reason": "Page Not Found or Access Denied"
},
"what": "response"
}
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
LoL Thanks! Yes, I know well not to paste huge lines of code, but I thought for simplicity sake to just post a few excepts from what I had. The issue is the Access denied in the video room now. The Admin logs was not different from my initial first log attachment, I don't know if you took a look at it.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Regards,Mirko
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
According to one of your past posts you had said "As for the Janus API, the Admin API also always expects a POST with a payload:How do I send a POST with a Payload please?
--
[API/JANUS/Client(Session)] 200 OK
{
"plugins": [],
"session_id": ""
}
[API/JANUS/VideoRoom (Video Room Plugin) 404 Page Not Found or Access Denied
Same error Code for API/JANUS/Client/Events 404
{
"response": {
"code": 404,
"reason": "Page Not Found or Access Denied"
},
"what": "response"
}
On Thursday, 5 October 2017 06:38:55 UTC-4, Lorenzo Miniero wrote:
Thanks for your Reply Webmaster, the only way I tried to join the Janus Video room was through the URL from the UV4L web page, it has an option to create or Join Janus Video Room, Once I put in all the credentials on that page when it opens up the Janus Gateway configurations and I press "Start" from the UV4L web page it greys out and the stream logs is all I have been posting. It seems for some reason not to do anything besides greying out after pressing start. In the Janus logs as well it shows opening UV4L channel after starting the stream. If Lorenzo tells me my "handle_log file" from the Janus admin web page is fine, then the only thing I can suspect would be my local machine because my mic port is disabled from giving output. Maybe this might be the cause. I am also willing to share my solutions with your users if interested for the IP CAM version of Janus and UV4L once fully working.
Thanks!