Update VideoStream.java

This trick will avoid to have stretched video preview when starting the camera
Update Session.java

This trick will avoid to have stretched video preview when starting the camera
Allow for generating SDPs that target a user-defined port for the video RTP stream.
Fix a bug preventing the size of the PPS from being written into STAP-A packets.
Update VideoStream.java
Update VideoStream.java

enabling autofocus
Merge pull request #1 from nocturnalprelude/patch-1

Update VideoStream.java
Merge pull request #2 from nocturnalprelude/patch-2

Update Session.java
Merge pull request #3 from nocturnalprelude/patch-3

Update VideoStream.java
Merge pull request #4 from nocturnalprelude/patch-4

Update VideoStream.java
Merge pull request #5 from sigmabeta/custom-rtp-ports

Allow for generating SDPs that target a user-defined port for the video ...
Merge pull request #6 from sigmabeta/stapa-fix

Fix a bug preventing the size of the PPS from being written into STAP-A ...
Lib changes

* Force it to use MediaCodec API 2
* Use dummy surface view in server side to avoid freezing
* Commented unused method that introduced errors after merging PRs
* Commented method measureFramerate call to avoid bug with framerate (if we use this method, the framerate parameter is ignored)
Changes after Julian comments
One last change after Julian's comment
Merge pull request #8 from ashyonline/first-changes-for-algron-project

Lib changes
build.gradle
 * updated tools and android compileSdk version

streaming/MediaStream.java:
 * updated to use MODE_MEDIACODEC_API_2 if present

streaming/Session.java, streaming/SessionBuilder.java, streaming/rtsp/RtspServer.java, streaming/rtsp/RtspClient.java:
 * better port handling

streaming/rtp/H264Packetizer.java
 * stream parameters fix

Merge branch 'master' of https://github.com/algron/libstreaming

Conflicts:
 * src/main/java/net/majorkernelpanic/streaming/video/VideoStream.java