tDܤ Posted September 19, 2019 Share Posted September 19, 2019 I am making a radio streaming service in android environment. So I want the Publisher to only stream audio. I have some questions about this. 1.If you look at the android sample in the documentation, intent.putExtra (EXTRA_CAPTURETOTEXTURE_ENABLED, true) It looks like setting options for putExtra. How do I set options to only stream audio? 2. Where can I find more detailed usage manuals that can be streamed on Android? For example, I want to know the exact purpose of an option flag like EXTRA_CAPTURETOTEXTURE_ENABLED and so on. 3. How can I get the audio volume of streaming? 4. I want to stream music files stored on my phone or YouTube music. What should I do when streaming external music? 5. Signal channel closed with code CONNECTION_LOST error occurs when connecting to "wss: //". When connecting with "ws: //", it works normally. How can I connect to wss: //? Link to comment Share on other sites More sharing options...
0 Murat Aydin Posted September 24, 2019 Share Posted September 24, 2019 Hi, 1. EXTRA_VIDEO_CALL could be used. Please have a look at source code of WebRTCClient.java: boolean videoCallEnabled = intent.getBooleanExtra(CallActivity.EXTRA_VIDEO_CALL, true); If you set this to false, video will be disabled. 2. There is this documentation:https://github.com/ant-media/Ant-Media-Server/wiki/Step-by-Step-Guide-to-Build-WebRTC-Native-Android-App, other than that you can look at the source code. 3. Please have a look at here: https://stackoverflow.com/questions/4593552/how-do-you-get-set-media-volume-not-ringtone-volume-in-android/5446346#5446346 4. Please investigate AudioSource class. 5. wss connects on https only, ws connects on http. Best regards, On Thursday, September 19, 2019 at 4:32:07 AM UTC+2, 다이아몬드스텝 wrote: I am making a radio streaming service in android environment. So I want the Publisher to only stream audio. I have some questions about this. 1.If you look at the android sample in the documentation, intent.putExtra (EXTRA_CAPTURETOTEXTURE_ENABLED, true) It looks like setting options for putExtra. How do I set options to only stream audio? 2. Where can I find more detailed usage manuals that can be streamed on Android? For example, I want to know the exact purpose of an option flag like EXTRA_CAPTURETOTEXTURE_ENABLED and so on. 3. How can I get the audio volume of streaming? 4. I want to stream music files stored on my phone or YouTube music. What should I do when streaming external music? 5. Signal channel closed with code CONNECTION_LOST error occurs when connecting to "wss: //". When connecting with "ws: //", it works normally. How can I connect to wss: //? Link to comment Share on other sites More sharing options...
Question
tDܤ
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Sep 19
1
Sep 24
1
Top Posters For This Question
tDܤ 1 post
Murat Aydin 1 post
Popular Days
Sep 19 2019
1 post
Sep 24 2019
1 post
1 answer to this question
Recommended Posts