docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SteamVideo

    callbacks Purpose: Steam Video API

    Inheritance
    object
    SteamVideo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public static class SteamVideo

    Methods

    GetOPFSettings(AppId_t)

    Get the OPF Details for 360 Video Playback

    Declaration
    public static void GetOPFSettings(AppId_t unVideoAppID)
    Parameters
    Type Name Description
    AppId_t unVideoAppID

    Passed through to ISteamVideo::GetOPFSettings.

    GetOPFStringForApp(AppId_t, out string, ref int)

    Calls the Steamworks ISteamVideo::GetOPFStringForApp method.

    Declaration
    public static bool GetOPFStringForApp(AppId_t unVideoAppID, out string pchBuffer, ref int pnBufferSize)
    Parameters
    Type Name Description
    AppId_t unVideoAppID

    Passed through to ISteamVideo::GetOPFStringForApp.

    string pchBuffer

    Receives the string ISteamVideo::GetOPFStringForApp writes.

    int pnBufferSize

    Passed through to ISteamVideo::GetOPFStringForApp.

    Returns
    Type Description
    bool

    The value ISteamVideo::GetOPFStringForApp returns.

    GetVideoURL(AppId_t)

    Get a URL suitable for streaming the given Video app ID's video

    Declaration
    public static void GetVideoURL(AppId_t unVideoAppID)
    Parameters
    Type Name Description
    AppId_t unVideoAppID

    Passed through to ISteamVideo::GetVideoURL.

    IsBroadcasting(out int)

    returns true if user is uploading a live broadcast

    Declaration
    public static bool IsBroadcasting(out int pnNumViewers)
    Parameters
    Type Name Description
    int pnNumViewers

    Passed through to ISteamVideo::IsBroadcasting.

    Returns
    Type Description
    bool

    The value ISteamVideo::IsBroadcasting returns.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)