Initializes the video stream from a Uri, which can be a file, HTTP, RTP, UDP, or TCP source. See the Video Streams Overview for a list of supported video formats and Uri usage.
[Visual Basic .NET] |
---|
Public Function InitializeWithStringUriAndAudio( _ ByVal Uri As String, _ ByVal LoadAudio As Boolean _ ) As IAgStkGraphicsVideoStream |
[C#] |
---|
public IAgStkGraphicsVideoStream InitializeWithStringUriAndAudio( string Uri, bool LoadAudio ); |
[Managed C++] |
---|
public: IAgStkGraphicsVideoStream^ InitializeWithStringUriAndAudio( String __gc ^ Uri, bool LoadAudio ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithStringUriAndAudio( BSTR Uri, VARIANT_BOOL LoadAudio, IAgStkGraphicsVideoStream ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsVideoStream initializeWithStringUriAndAudio( String Uri, bool LoadAudio ); |
[Python - STK API ] |
---|
def InitializeWithStringUriAndAudio(self, Uri:str, LoadAudio:bool) -> "IAgStkGraphicsVideoStream": |
- Uri
- The Uri of the video.
- LoadAudio
- If
true
, will also load the AudioStream encoded in the video uri. This parameter is only valid for Time Interval playback mode.