Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLC no connection #32

Open
simongiesen opened this issue Jan 8, 2016 · 0 comments
Open

VLC no connection #32

simongiesen opened this issue Jan 8, 2016 · 0 comments

Comments

@simongiesen
Copy link

Hi folks,

great work!

Just trying to get connected from my Mac by using the latest VLC build. Console Output is:
01-08 14:52:34.283 18206-18206/com.simongiesen.xperiastream D/MainActivity: Bitrate: 436987
01-08 14:52:34.784 18206-18206/com.simongiesen.xperiastream D/MainActivity: Bitrate: 540618
01-08 14:52:35.285 18206-18206/com.simongiesen.xperiastream D/MainActivity: Bitrate: 562897

Session is started, as well as Server by using
this.startService(new Intent(this,RtspServer.class));

the IP of my Z3 is being received by using
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE);
int ipAddress = wifiManager.getConnectionInfo().getIpAddress();
Log.i("info", "ip address " + String.format("%d.%d.%d.%d", (ipAddress & 0xff), (ipAddress >> 8 & 0xff),
(ipAddress >> 16 & 0xff), (ipAddress >> 24 & 0xff)));

there is no stream which could be opened. Did I got anything wrong?

mSession = SessionBuilder.getInstance()
.setCallback(this)
.setSurfaceView(mSurfaceView)

            .setContext(getApplicationContext())
            .setAudioEncoder(SessionBuilder.AUDIO_NONE)
            .setAudioQuality(new AudioQuality(16000, 32000))
            .setVideoEncoder(SessionBuilder.VIDEO_H264)
            .setVideoQuality(new VideoQuality(320,240,20,500000))
            .build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant