Hi,
First of all, as of today, the libraries used in this project are limiting the number of BIS to 2, meaning you'll only be able to support 2 different languages at the same time. We plan on supporting more BIS in future updates.
To broadcast 2 different languages starting from the current PBP Source application:
- Set the BROADCAST_SOURCE_NUM_BIS to 2, BROADCAST_SOURCE_CHANNEL_ALLOC_1 to FRONT_LEFT and BROADCAST_SOURCE_CHANNEL_ALLOC_2 to FRONT_RIGHT. This will permit to broadcast left and right channels on 2 different BIS
- Edit the PBPAPP_SetupBASE so that instead of having 1 subgroup with 2 BIS, you have 2 subgroups with 1 BIS per subgroup. This will permit to annonce to remote Broadcast Sinks that the 2 BIS contain 2 different content. You'll find more info about BASE structure on our wiki page.
- Send audio through 3.5mm jack input with your first language on the left channel and the second language on the right channel
- On the PBP Sink side, when calling PBP_PBK_StartBIGSync, only synchronize to one of the 2 BIS by setting the NumBIS to 1 and setting the right BIS in the bis_index.
If you can wait until then, we plan on releasing a stm32-hotspot github project containing a PBP Source app with 2 languages, along with an app able to synchronize to it and switch languages. It should be available in a few weeks.
Best Regards,
Tom.