cancel
Showing results for 
Search instead for 
Did you mean: 

set Live streaming on by code

PresentysFB
Honored Guest

Hello, is it possible to broadcast live through a call from a script and thus not have to go to the menu and click on the broadcast option?

In the documentation there are calls related to it, some ideas on how to use them:

https://developer.oculus.com/reference/platform-unity/v59/

Thanks

1 REPLY 1

PresentysFB
Honored Guest

When I click on the transmit button I do receive information about the callback but how could I make that call from code?

The callback:
Livestreaming.SetStatusUpdateNotificationCallback((Message<LivestreamingStatus> msg)
=> { GetLoggedInUser(msg); });

 

I use this: 

CAPI.ovr_Livestreaming_StartStream(LivestreamingAudience.Public, LivestreamingMicrophoneStatus.MicrophoneOn);

But it doesn't seem to do anything