Method | Description | |
---|---|---|
Concat ( byte array1, byte array2 ) : byte[] | ||
Flush ( ) : void |
Clears all buffers for this stream and updates position and length accordingly
|
|
OnPacketReceived ( object sender, EventArgs |
||
Open ( string uri ) : |
||
Read ( byte buffer, int offset, int count ) : int | ||
RtpStream ( |
||
RtpStream ( int port ) : System | ||
Seek ( long offset, SeekOrigin origin ) : long | ||
SetLength ( long value ) : void | ||
Write ( byte buffer, int offset, int count ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
EnsureBufferOf ( long size ) : void |
Ensures the buffer of a specified [size]. Throws a [TimeoutException] when it takes longer then 1000ms to fill the buffer.
|
|
RunAutoFlush ( ) : void |
Internal method to run the auto flush if required.
|
public static Concat ( byte array1, byte array2 ) : byte[] | ||
array1 | byte | |
array2 | byte | |
return | byte[] |
public OnPacketReceived ( object sender, EventArgs |
||
sender | object | |
e | EventArgs |
|
return | void |
public static Open ( string uri ) : |
||
uri | string | |
return |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
return | int |
public RtpStream ( |
||
localEp | ||
return | System |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
return | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |