Merge pull request #1 from mauriciocolli/master

Make 'Stream' classes implement Serializable
This commit is contained in:
Christian Schabesberger 2017-03-20 22:02:29 +01:00 committed by GitHub
commit 8ff28a6999
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
package org.schabi.newpipe.extractor.stream_info; package org.schabi.newpipe.extractor.stream_info;
import java.io.Serializable;
/** /**
* Created by Christian Schabesberger on 04.03.16. * Created by Christian Schabesberger on 04.03.16.
* *
@ -20,7 +22,7 @@ package org.schabi.newpipe.extractor.stream_info;
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>. * along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/ */
public class AudioStream { public class AudioStream implements Serializable{
public String url = ""; public String url = "";
public int format = -1; public int format = -1;
public int bandwidth = -1; public int bandwidth = -1;

View File

@ -1,5 +1,7 @@
package org.schabi.newpipe.extractor.stream_info; package org.schabi.newpipe.extractor.stream_info;
import java.io.Serializable;
/** /**
* Created by Christian Schabesberger on 04.03.16. * Created by Christian Schabesberger on 04.03.16.
* *
@ -20,7 +22,7 @@ package org.schabi.newpipe.extractor.stream_info;
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>. * along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/ */
public class VideoStream { public class VideoStream implements Serializable{
//url of the stream //url of the stream
public String url = ""; public String url = "";
public int format = -1; public int format = -1;