All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.LiveBroadcastContentDetails.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241105-2.0.0
Show newest version






LiveBroadcastContentDetails (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube.model

Class LiveBroadcastContentDetails

    • Constructor Detail

      • LiveBroadcastContentDetails

        public LiveBroadcastContentDetails()
    • Method Detail

      • getBoundStreamId

        public String getBoundStreamId()
        This value uniquely identifies the live stream bound to the broadcast.
        Returns:
        value or null for none
      • setBoundStreamId

        public LiveBroadcastContentDetails setBoundStreamId(String boundStreamId)
        This value uniquely identifies the live stream bound to the broadcast.
        Parameters:
        boundStreamId - boundStreamId or null for none
      • getBoundStreamLastUpdateTimeMs

        public com.google.api.client.util.DateTime getBoundStreamLastUpdateTimeMs()
        The date and time that the live stream referenced by boundStreamId was last updated.
        Returns:
        value or null for none
      • setBoundStreamLastUpdateTimeMs

        public LiveBroadcastContentDetails setBoundStreamLastUpdateTimeMs(com.google.api.client.util.DateTime boundStreamLastUpdateTimeMs)
        The date and time that the live stream referenced by boundStreamId was last updated.
        Parameters:
        boundStreamLastUpdateTimeMs - boundStreamLastUpdateTimeMs or null for none
      • getClosedCaptionsType

        public String getClosedCaptionsType()
        Returns:
        value or null for none
      • setClosedCaptionsType

        public LiveBroadcastContentDetails setClosedCaptionsType(String closedCaptionsType)
        Parameters:
        closedCaptionsType - closedCaptionsType or null for none
      • getEnableAutoStart

        public Boolean getEnableAutoStart()
        This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
        Returns:
        value or null for none
      • setEnableAutoStart

        public LiveBroadcastContentDetails setEnableAutoStart(Boolean enableAutoStart)
        This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
        Parameters:
        enableAutoStart - enableAutoStart or null for none
      • getEnableAutoStop

        public Boolean getEnableAutoStop()
        This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
        Returns:
        value or null for none
      • setEnableAutoStop

        public LiveBroadcastContentDetails setEnableAutoStop(Boolean enableAutoStop)
        This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.
        Parameters:
        enableAutoStop - enableAutoStop or null for none
      • getEnableClosedCaptions

        public Boolean getEnableClosedCaptions()
        This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
        Returns:
        value or null for none
      • setEnableClosedCaptions

        public LiveBroadcastContentDetails setEnableClosedCaptions(Boolean enableClosedCaptions)
        This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
        Parameters:
        enableClosedCaptions - enableClosedCaptions or null for none
      • getEnableContentEncryption

        public Boolean getEnableContentEncryption()
        This setting indicates whether YouTube should enable content encryption for the broadcast.
        Returns:
        value or null for none
      • setEnableContentEncryption

        public LiveBroadcastContentDetails setEnableContentEncryption(Boolean enableContentEncryption)
        This setting indicates whether YouTube should enable content encryption for the broadcast.
        Parameters:
        enableContentEncryption - enableContentEncryption or null for none
      • getEnableDvr

        public Boolean getEnableDvr()
        This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.
        Returns:
        value or null for none
      • setEnableDvr

        public LiveBroadcastContentDetails setEnableDvr(Boolean enableDvr)
        This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.
        Parameters:
        enableDvr - enableDvr or null for none
      • getEnableEmbed

        public Boolean getEnableEmbed()
        This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
        Returns:
        value or null for none
      • setEnableEmbed

        public LiveBroadcastContentDetails setEnableEmbed(Boolean enableEmbed)
        This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
        Parameters:
        enableEmbed - enableEmbed or null for none
      • getEnableLowLatency

        public Boolean getEnableLowLatency()
        Indicates whether this broadcast has low latency enabled.
        Returns:
        value or null for none
      • setEnableLowLatency

        public LiveBroadcastContentDetails setEnableLowLatency(Boolean enableLowLatency)
        Indicates whether this broadcast has low latency enabled.
        Parameters:
        enableLowLatency - enableLowLatency or null for none
      • getLatencyPreference

        public String getLatencyPreference()
        If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
        Returns:
        value or null for none
      • setLatencyPreference

        public LiveBroadcastContentDetails setLatencyPreference(String latencyPreference)
        If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
        Parameters:
        latencyPreference - latencyPreference or null for none
      • getMesh

        public String getMesh()
        The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
        Returns:
        value or null for none
        See Also:
        decodeMesh()
      • decodeMesh

        public byte[] decodeMesh()
        The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getMesh()
      • setMesh

        public LiveBroadcastContentDetails setMesh(String mesh)
        The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
        Parameters:
        mesh - mesh or null for none
        See Also:
        #encodeMesh()
      • encodeMesh

        public LiveBroadcastContentDetails encodeMesh(byte[] mesh)
        The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.
        Since:
        1.14
        See Also:

        The value is encoded Base64 or {@code null} for none.

      • getMonitorStream

        public MonitorStreamInfo getMonitorStream()
        The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
        Returns:
        value or null for none
      • setMonitorStream

        public LiveBroadcastContentDetails setMonitorStream(MonitorStreamInfo monitorStream)
        The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
        Parameters:
        monitorStream - monitorStream or null for none
      • getProjection

        public String getProjection()
        The projection format of this broadcast. This defaults to rectangular.
        Returns:
        value or null for none
      • setProjection

        public LiveBroadcastContentDetails setProjection(String projection)
        The projection format of this broadcast. This defaults to rectangular.
        Parameters:
        projection - projection or null for none
      • getRecordFromStart

        public Boolean getRecordFromStart()
        Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
        Returns:
        value or null for none
      • setRecordFromStart

        public LiveBroadcastContentDetails setRecordFromStart(Boolean recordFromStart)
        Automatically start recording after the event goes live. The default value for this property is true. *Important:* You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
        Parameters:
        recordFromStart - recordFromStart or null for none
      • getStartWithSlate

        public Boolean getStartWithSlate()
        This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
        Returns:
        value or null for none
      • setStartWithSlate

        public LiveBroadcastContentDetails setStartWithSlate(Boolean startWithSlate)
        This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
        Parameters:
        startWithSlate - startWithSlate or null for none
      • getStereoLayout

        public String getStereoLayout()
        The 3D stereo layout of this broadcast. This defaults to mono.
        Returns:
        value or null for none
      • setStereoLayout

        public LiveBroadcastContentDetails setStereoLayout(String stereoLayout)
        The 3D stereo layout of this broadcast. This defaults to mono.
        Parameters:
        stereoLayout - stereoLayout or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy