AgoraIO-Community / AgoraWebSDK-NG

The Next Generation of Agora Web SDK
https://agoraio-community.github.io/AgoraWebSDK-NG/
161 stars 75 forks source link

createCustomVideoTrack with audio #30

Closed porterde closed 4 years ago

porterde commented 4 years ago

Calling createCustomVideoTrack with true for withAudio returns a list with two tracks (audio and video) if the user selects to share a browser tab and ticks Share Audio, otherwise fails.

It would be helpful if, instead, createCustomVideoTrack with true for withAudio returned a list containing only the video track rather than an error if user does not tick Share Audio. Then the app could decide if it would like to request audio, but can gracefully fall back to video only for screen share if user does not agree to share audio.

disoul commented 4 years ago

This feature is already supported in the next version and it will be released next week.

porterde commented 4 years ago

Awesome, and thanks for the quick reply!

Is there somewhere I can see a roadmap of future releases I could check before asking similar questions?

disoul commented 4 years ago

Sorry, the roadmap of this SDK is the internal information, I can not share it on Github.

If you have any feature requirements about this SDK, feel free to post issues to let us know.

By the way, I think your mean createScreenVideoTrack right? Your issue title is createCustomVideoTrack.

porterde commented 4 years ago

Ok no problem re roadmap. Yes sorry I meant createScreenVideoTrack.

disoul commented 4 years ago

v4.0.0 has been released, createScreenVideoTrack now support "auto" mode.

porterde commented 4 years ago

Awesome, thanks!