Skip to content

Commit

Permalink
Merge pull request #1 from mauriciocolli/master
Browse files Browse the repository at this point in the history
Make 'Stream' classes implement Serializable
  • Loading branch information
theScrabi authored Mar 20, 2017
2 parents f63b7e8 + 7d0748c commit 8ff28a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion stream_info/AudioStream.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.schabi.newpipe.extractor.stream_info;

import java.io.Serializable;

/**
* Created by Christian Schabesberger on 04.03.16.
*
Expand All @@ -20,7 +22,7 @@
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/

public class AudioStream {
public class AudioStream implements Serializable{
public String url = "";
public int format = -1;
public int bandwidth = -1;
Expand Down
4 changes: 3 additions & 1 deletion stream_info/VideoStream.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.schabi.newpipe.extractor.stream_info;

import java.io.Serializable;

/**
* Created by Christian Schabesberger on 04.03.16.
*
Expand All @@ -20,7 +22,7 @@
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/

public class VideoStream {
public class VideoStream implements Serializable{
//url of the stream
public String url = "";
public int format = -1;
Expand Down

0 comments on commit 8ff28a6

Please sign in to comment.