java.lang.Object | |
↳ | com.gsma.services.rcs.sharing.video.VideoPlayer |
Video player offers an interface to manage the video player instance independently of the RCS
service. The video player is implemented in the application side.
In the originating side, the video player captures the video from the device camera, encodes the
video into the selected format and streams the encoded video frames over the network in RTP.
In the terminating side, the video renderer is implemented in the application side. The video
renderer receives the video streaming over the network in RTP, decodes the video frames and
displays the decoded picture on the device screen.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VideoPlayer()
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract VideoCodec |
getCodec()
Returns the current codec
| ||||||||||
abstract int |
getLocalRtpPort()
Returns the local RTP port used to stream video
| ||||||||||
abstract VideoCodec[] |
getSupportedCodecs()
Returns the list of codecs supported by the player
| ||||||||||
abstract void |
setRemoteInfo(VideoCodec codec, String remoteHost, int remotePort, int orientationHeaderId)
Set the remote info
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the local RTP port used to stream video
Returns the list of codecs supported by the player
Set the remote info
codec | Video codec |
---|---|
remoteHost | Remote RTP host |
remotePort | Remote RTP port |
orientationHeaderId | Orientation header extension ID. The extension ID is a value between 1 and 15 arbitrarily chosen by the sender, as defined in RFC5285 |