Reputation: 11
I'm trying to use VLC as a RTSP client.The rtsp server is based on the libstreaming example1. I'm use Samsung Galaxy S6. Is it possible to stream 1080p resolution? Then what is the rtsp URL format.
Upvotes: 0
Views: 1319
Reputation: 6546
Yes, it is possible, use MediaRecorder
instead of MediaCodec
.
Max resolution for MediaCodec
is 640x480.
libstreaming:
public static final byte MODE_MEDIARECORDER_API = 0x01;
Upvotes: 1
Reputation: 11
1080p works for me on Meizu MX4, but has huge latency and sometimes mpeg artifacts. I tested this on many devices and it depends on device model. URL format does not depend on video resolution to set resolution use .setVideoQuality() method as described in readme here https://github.com/fyhertz/libstreaming
Upvotes: 0