Hello.
Thanks for reply. I read the user manual.
Use case #1:
I’m doing a live stream from Android device(version 4.2) on Wowza server. Here my config:
host - rtsp://10.0.1.9:1935/mediaApp/MyStream
user - root
password -123
Video codec - H264
Audio codec - AAC(AudioQuality(8000,16000))
In the console, I see this live stream tab “Incoming stream”. This stream I can watch through Flesh player and iOS (they use rtmp). Thats okay.
But when I try to watch live video on another Android device, nothing happens.(Message arrives, it is impossible to play video) Here’s the code:
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getWindow().addFlags( WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
requestWindowFeature( Window.FEATURE_NO_TITLE);
setContentView(R.layout.main_new);
VideoView videoView = (VideoView) findViewById(R.id.videoView);
String httpLiveUrl = “rtsp://10.0.1.9.com:1935/mediaApp/MyStream”;
videoView.setVideoURI( Uri.parse( httpLiveUrl ));
videoView.setMediaController(new MediaController(this));
videoView.requestFocus();
videoView.start();
}
}
Use case #2:
I do stream from Android device to the Wowza server. In the console, do video recording in ‘mp4’ and ‘flv’ formats.
Next, I change the server settings for playing records and trying to play this video, using the same code.
host - rtsp://tc.themidnightcoders.com:1935/mediaApp/mp4:MyStream.mp4(for Android)
Flash - can play only flv format, but mp4 not(is there any way to play video in this format?).
iOS - can play only flv format, but mp4 not(is there any way to play video in this format?).
Android - сan not play video, which has been recorded on the device. (Basic “sample.mp4” work perfect)
Can you help me in this case?
Note: I think that you can do to stream from any client(Android, iOs, Flesh), your server converts it and outputs in the format that you want.
Such cases i have:
publisher type player
Android Live Flash yes
Android Live iOS yes
Android Live Android no
Android Record Flash yes (flv format)
Android Record iOS yes (flv format)
Android Record Android no
Flash Live Android no
Flash Record Android no
Now I have the biggest problem is with the Android client, as you can see.
I hope very much for your help.