Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
PresentysFB's avatar
PresentysFB
Honored Guest
2 years ago

set Live streaming on by code

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

Replies have been turned off for this discussion
  • 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