public class RtpdumpMediaDevice extends Object
| Constructor and Description |
|---|
RtpdumpMediaDevice() |
| Modifier and Type | Method and Description |
|---|---|
static MediaDevice |
createRtpdumpAudioMediaDevice(String filePath,
javax.media.format.AudioFormat format)
Create a new audio MediaDevice instance which will read
the rtpdump file located at filePath, and which will have the
encoding format format.
|
static MediaDevice |
createRtpdumpVideoMediaDevice(String filePath,
String rtpEncodingConstant,
MediaFormat format)
Create a new video MediaDevice instance which will read
the rtpdump file located at filePath, and which will have the
encoding format encodingConstant.
|
public static MediaDevice createRtpdumpVideoMediaDevice(String filePath, String rtpEncodingConstant, MediaFormat format)
filePath - the location of the rtpdump filertpEncodingConstant - the format this MediaDevice will have.
You can find the list of possible format in the class Constants
of libjitsi (ex : Constants.VP8_RTP).format - the MediaFormat of the data contained in the
payload of the recorded rtp packet in the rtpdump file.public static MediaDevice createRtpdumpAudioMediaDevice(String filePath, javax.media.format.AudioFormat format)
RtpdumpStream(DataSource, javax.media.control.FormatControl)
TODO: Avoid this hack...filePath - the location of the rtpdump fileformat - the AudioFormat of the data contained in the
payload of the recorded rtp packet in the rtpdump file.Copyright © 2022 jitsi.org. All rights reserved.