Skip to content

Commit 8ff28a6

Browse files
authored
Merge pull request #1 from mauriciocolli/master
Make 'Stream' classes implement Serializable
2 parents f63b7e8 + 7d0748c commit 8ff28a6

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

stream_info/AudioStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.schabi.newpipe.extractor.stream_info;
22

3+
import java.io.Serializable;
4+
35
/**
46
* Created by Christian Schabesberger on 04.03.16.
57
*
@@ -20,7 +22,7 @@
2022
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
2123
*/
2224

23-
public class AudioStream {
25+
public class AudioStream implements Serializable{
2426
public String url = "";
2527
public int format = -1;
2628
public int bandwidth = -1;

stream_info/VideoStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.schabi.newpipe.extractor.stream_info;
22

3+
import java.io.Serializable;
4+
35
/**
46
* Created by Christian Schabesberger on 04.03.16.
57
*
@@ -20,7 +22,7 @@
2022
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
2123
*/
2224

23-
public class VideoStream {
25+
public class VideoStream implements Serializable{
2426
//url of the stream
2527
public String url = "";
2628
public int format = -1;

0 commit comments

Comments
 (0)