Skip to content

RTMP streaming client in pure Java for Android for those who hate JNI.

License

Notifications You must be signed in to change notification settings

johnnywww/yasea

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Stream Encoder for Android

Android Arsenal

Yasea is an Android streaming client written in pure Java. It is based on the source of both srs-sea and SimpleRtmp. It uses hard encoder for H.264/AAC and transmits over RTMP. Moreover, it runs on Android mini API 16 (Android 4.1).

Feature

  • Android mini API 16.
  • H.264/AAC hard encoding.
  • RTMP streaming with state callback handler.
  • Portrait and landscape dynamic orientation.
  • Front and back cameras hot switch.
  • Recording to MP4 while streaming.
  • Authentication for RTMP server.

Test

You may watch the live broadcasting at srs.net. Remember to modify the URL by yourself. Have fun!

NOTE if you feel high latency, it might be the frame cache of the server or player. So you need to open the player first and then publish to see the effect.

Other Branch

If you want to stay in portrait mode ignoring dynamic orientation change when streaming, clone yasea on brach portrait-forever.

About

RTMP streaming client in pure Java for Android for those who hate JNI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%