Merge pull request #1 from mauriciocolli/master
Make 'Stream' classes implement Serializable
This commit is contained in:
commit
8ff28a6999
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
package org.schabi.newpipe.extractor.stream_info;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
public class AudioStream {
|
||||
public class AudioStream implements Serializable{
|
||||
public String url = "";
|
||||
public int format = -1;
|
||||
public int bandwidth = -1;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.schabi.newpipe.extractor.stream_info;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
public class VideoStream {
|
||||
public class VideoStream implements Serializable{
|
||||
//url of the stream
|
||||
public String url = "";
|
||||
public int format = -1;
|
||||
|
|
Loading…
Reference in a new issue