fyhertz / libstreaming

A solution for streaming H.264, H.263, AMR, AAC using RTP on Android
Apache License 2.0
3.49k stars 1.08k forks source link

Priview Rotation on server side #222

Open findxain opened 8 years ago

findxain commented 8 years ago

hi every body ... as @fyhertz said we can use mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIARECORDER_API_2);

to rotate priview on server side. but there is no such constant MODE_MEDIARECORDER_API_2 in MediaStream class only MODE_MEDIARECORDER_API now guys please tell me how should i rotate the priview on server side. Thanks in advance

alexcohn commented 8 years ago

This was a typo. MODE_MEDIACODEC_API_2 is defined at https://github.com/fyhertz/libstreaming/blob/master/src/net/majorkernelpanic/streaming/MediaStream.java#L56

vininandu commented 5 years ago

@findxain have you resolved receiver side preview orientation problem, will you please help in fixing this issue if you have resolved