BBB Audio and Video not working in webview app (Android)

1,394 views
Skip to first unread message

kanad chatterjee

unread,
Jun 16, 2019, 6:16:14 PM6/16/19
to bigblueb...@googlegroups.com
Hi Fred,

We have created a webview app (android), and receiving audio-video permission on first use, but when user is starting a BBB meeting in webview app scope, audio and video is not working and BBB throwing permission error, but not showing any option for users to add permissions.

However, all meeting links when accessed directly via chrome, everything working fine in HTML 5 mode.

Any suggestions would be highly appreciated!!

--
With Best Regards,
Kanad
New Jersey, USA
Cell : 001 - 408-598-7571

Fred Dixon

unread,
Jun 16, 2019, 8:38:15 PM6/16/19
to BigBlueButton-dev
HI Kanad,

While not a requirement, is your webview app open source?  If so, it would be easier for others to debug if they could run it as well to debug the issue.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/CAODdu1gmeSkqZp1Ga8VEja98H0uttATxTadMX_3di76zXfdzzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
BigBlueButton Developer
@bigbluebutton

kanad chatterjee

unread,
Jun 17, 2019, 9:02:44 AM6/17/19
to bigblueb...@googlegroups.com
Hi Fred,

It's not an open source App but it's an everyone's App. 



For more options, visit https://groups.google.com/d/optout.


--
With Best Reagrds,

kanad chatterjee

unread,
Jun 17, 2019, 9:48:35 AM6/17/19
to bigblueb...@googlegroups.com
Hi Fred,

Adding a few next steps to help test and get to the issue

After signup and first login users will be taken to their Learnmet social timeline page and should look for "Start Live Connect" button

image.png

At the next page, the app asks for other meeting information, either user can invite their Learnmet connections or invite by email, or just try it alone.

image.png

On click > Join now: User is taken to BBB, works like a charm from laptop/desktop/ Mobile Chrome -  Moderator: Flash or HTML 5, Invitees: HTML 5.
But when opened in App's scope (Android's Native browser), Audio Video, does not work.

image.png

I hope this helps.

kanad chatterjee

unread,
Jun 17, 2019, 9:53:28 AM6/17/19
to bigblueb...@googlegroups.com
Hi Fred,

I missed to paste the second step. The page before Dial in code generation.

image.png

Alfonso Fernández

unread,
Jun 17, 2019, 11:52:41 AM6/17/19
to bigblueb...@googlegroups.com

I think you need to require permissions for sharing your microphone and webcam when the app is installed by the user. Although using webview it is still dependent on the app permissions that launched the webview.

Here is documentation:

https://developer.android.com/training/permissions/requesting

Another option would be to launch the default web browser. This would be easier because depending on the users phone the could have different webview implementations.

I hope it helps.


El 17/06/19 a las 8:53, kanad chatterjee escribió:

kanad chatterjee

unread,
Jun 17, 2019, 2:00:05 PM6/17/19
to bigblueb...@googlegroups.com
Hi Alphonso,

Thanks for your response, we are asking permissions from user on first App use post install. But it appears the default browser is not picking up the permissions when BBB is launched. However rest of the microphone and photo sharing features working fine. We however do not have a separate video sharing outside BBB, so do not know about that.

Chad Pilkey

unread,
Jun 17, 2019, 4:58:24 PM6/17/19
to BigBlueButton-dev
If you Google for "WebRTC Android Webview" you'll find quite a few posts with examples. The changes are outside of the scope of the client itself. This is an older post, but it might still be relevant https://stackoverflow.com/questions/38917751/webview-webrtc-not-working


On Monday, June 17, 2019 at 2:00:05 PM UTC-4, kanad chatterjee wrote:
Hi Alphonso,

Thanks for your response, we are asking permissions from user on first App use post install. But it appears the default browser is not picking up the permissions when BBB is launched. However rest of the microphone and photo sharing features working fine. We however do not have a separate video sharing outside BBB, so do not know about that.

On Mon, Jun 17, 2019, 11:52 AM Alfonso Fernández <alfonsofe...@gmail.com> wrote:

I think you need to require permissions for sharing your microphone and webcam when the app is installed by the user. Although using webview it is still dependent on the app permissions that launched the webview.

Here is documentation:

https://developer.android.com/training/permissions/requesting

Another option would be to launch the default web browser. This would be easier because depending on the users phone the could have different webview implementations.

I hope it helps.


El 17/06/19 a las 8:53, kanad chatterjee escribió:
Hi Fred,

I missed to paste the second step. The page before Dial in code generation.

image.png

To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.


--
BigBlueButton Developer
@bigbluebutton
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.


--
With Best Reagrds,
Kanad
New Jersey, USA
Cell : 001 - 408-598-7571


--
With Best Reagrds,
Kanad
New Jersey, USA
Cell : 001 - 408-598-7571


--
With Best Reagrds,
Kanad
New Jersey, USA
Cell : 001 - 408-598-7571
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.

kanad chatterjee

unread,
Jun 17, 2019, 7:23:10 PM6/17/19
to bigblueb...@googlegroups.com
Thanks Chad! Will check and get back.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.

kanad chatterjee

unread,
Jun 18, 2019, 10:14:04 AM6/18/19
to bigblueb...@googlegroups.com
Thanks all for your help and directions!!

We upgraded to the minsdk version 25, so that it forces the use of chromium, and then followed the post from the link Chad shared to give permission to "modify" audio, not just record audio. It works, we are testing before sending an update for Google and other App stores 

Chad Pilkey

unread,
Jun 18, 2019, 11:39:01 AM6/18/19
to BigBlueButton-dev
Glad to hear that it was successful. If you want to also have an iOS app you'll find that the webview is missing WebRTC support completely so you'll need to hook in native WebRTC libraries.


On Tuesday, June 18, 2019 at 10:14:04 AM UTC-4, kanad chatterjee wrote:
Thanks all for your help and directions!!

We upgraded to the minsdk version 25, so that it forces the use of chromium, and then followed the post from the link Chad shared to give permission to "modify" audio, not just record audio. It works, we are testing before sending an update for Google and other App stores 


Reply all
Reply to author
Forward
0 new messages