ekumenlabs / AndroidStreamingClient

Library that receives UDP packets wrapped into RTP and coded in H264, decodes the corresponding frames and plays the resulting stream in an Android SurfaceView
Apache License 2.0
129 stars 45 forks source link

Display connection and playback status in surface #15

Open adamantivm opened 9 years ago

adamantivm commented 9 years ago

Show some indication of what is the current state of the received transmission:

The main idea is to give some indication of what is going on when something goes wrong, or when the stream stops being received (i.e.: because connection was lost).

Ideas:

Also, this issue could be divided in two parts:

  1. Add error and/or status notifications via listeners to the RtpMediaPlayer, for users of it
  2. Actual display of those status updates to the user in Mission Control or in the example player