Video publish in video room is not happening

287 views
Skip to first unread message

Nav Sharma

unread,
Mar 23, 2021, 10:49:33 AM3/23/21
to meetecho-janus
Hi,
With the media server configuration shown in the attachment, I have successfully run the video room demo web-client and it is having both local and remote videos. But when I try to connect a user from iOS app then the iOS app joins the same room with audio only and there is no video. The remote video from web-client can be seen in the app perfectly but there is an issue in publishing local video from iOS app.

Any example or guidance would be helpful. Thanks in advance.

Screenshot 2021-03-23 at 8.13.12 PM.png

Jake Jang

unread,
Mar 24, 2021, 2:27:06 AM3/24/21
to meetecho-janus

If you want to solve problem in iOS App, then show us the iOS App’s code.


The situation seems that you are using as WKWebView.

If you are using webview, getUserMedia() is not working in webview in iOS.

You have to use SafariViewController.


I’ve heard some news the getUserMedia() is working 

after iOS14.3.


check this thread.

https://bugs.webkit.org/show_bug.cgi?id=220184


2021년 3월 23일 화요일 오후 11시 49분 33초 UTC+9에 navsha...@gmail.com님이 작성:

Nav Sharma

unread,
Mar 25, 2021, 3:53:18 AM3/25/21
to meetecho-janus
I have used Janus-gateway-ios GitHub repo and using that we don't need to use WKWebView, instead directly I can import WebRTC framework and render the local video and remote videos from RTCMTLVideoView.

I am following the process like:
1. Created Janus session and emit event for attach-plugin..
2. Then Join room method and created offer SDP to send over media server. but media server returning back audio= true but there is no answer for video. 

This is the problem I am facing right now.

Jake Jang

unread,
Mar 25, 2021, 5:14:33 AM3/25/21
to meetecho-janus

I don’t remember exactly(it was few months ago), I’ve faced that issue when I didn’t use TURN server.


And please check

 - DtlsSrtpKeyAgreement

 - MediaConstraint

 - localTrack(RTCVideoTrack)


Hope that helps


2021년 3월 25일 목요일 오후 4시 53분 18초 UTC+9에 navsha...@gmail.com님이 작성:

Lorenzo Miniero

unread,
Mar 25, 2021, 6:15:20 AM3/25/21
to meetecho-janus
Sounds like a codec negotiation issue, e.g., device that only does H.264 trying to join a VP8 only VideoRoom, or incompatible H.264 profile.

L.

Nav Sharma

unread,
Apr 12, 2021, 2:10:47 AM4/12/21
to meetecho-janus

Yes, fixed the same in server configuration and now room can use have both the options for video codecs. Like this:
video codec = "h264, vp8"

Is there anything I am missing. I am still not able to publish the video.

Thanks in advance.

Nav Sharma

unread,
Apr 19, 2021, 7:34:17 AM4/19/21
to meetecho-janus
Hi @all
If anyone faces the same issue and have any idea of resolving it. Please let me know.
Thanks.
Reply all
Reply to author
Forward
0 new messages