public class

VideoCodec

extends Object
implements Parcelable
java.lang.Object
   ↳ com.gsma.services.rcs.sharing.video.VideoCodec

Class Overview

Video codec

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
int getBitRate()
Returns the codec bit rate (e.g.
int getClockRate()
Returns the codec clock rate (e.g.
String getEncoding()
Returns the encoding name (e.g.
int getFrameRate()
Returns the codec frame rate (e.g.
int getHeight()
Returns the height of video frame (e.g.
String getParameters()
Returns the list of codec parameters (e.g.
int getPayloadType()
Returns the codec payload type (e.g.
int getWidth()
Returns the width of video frame (e.g.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public int getBitRate ()

Since: API Level 1.5

Returns the codec bit rate (e.g. 64000)

Returns
  • Bit rate

public int getClockRate ()

Since: API Level 1.5

Returns the codec clock rate (e.g. 90000)

Returns
  • Clock rate

public String getEncoding ()

Since: API Level 1.5

Returns the encoding name (e.g. H264)

Returns
  • Encoding name

public int getFrameRate ()

Since: API Level 1.5

Returns the codec frame rate (e.g. 10)

Returns
  • Frame rate

public int getHeight ()

Since: API Level 1.5

Returns the height of video frame (e.g. 144)

Returns
  • Video height in pixels

public String getParameters ()

Since: API Level 1.5

Returns the list of codec parameters (e.g. profile-level-id, packetization-mode). Parameters are are semicolon separated.

Returns
  • Parameters

public int getPayloadType ()

Since: API Level 1.5

Returns the codec payload type (e.g. 96)

Returns
  • Payload type

public int getWidth ()

Since: API Level 1.5

Returns the width of video frame (e.g. 176)

Returns
  • Video width in pixels