Android Question Separate volume controls

MarcoRome

Expert
Licensed User
Longtime User
Hi all.
I have two different streaming.
Main and the other as a substrate.
you can separate the two volume control on two streaming, so you can increase or decrease separately type this ?

Screenshot_2016-06-18-18-25-35.png


Thank you
Marco
 

MarcoRome

Expert
Licensed User
Longtime User
Hi Erel this is question: " to set the volume level of each channel"

I can write:
B4X:
    Public ph As Phone
    ph.SetVolume(ph.VOLUME_MUSIC, 5, True)

And this work if you have one streaming.
Now i have 2 streaming at the same time, so how do i distinguish between different streaming and to be able to increase or decrease one of the values between the stream 1 and 2 ??
Thank you
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
Hi Erel.
No i use VLC library by @moster67.
Is great because you can use the same in services and is much faster than the mediaplayerstream
Streamed mediaplayerstream takes about 7 seconds VS 1 second VLC ( and not dependent on the bitrate I tried 64 bit rate and 320 bit rate does not change anything ).
 
Upvote 0
Top